git.shiar.nl
/
netris.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d1d28
)
don't hardcode string and array length
author
Mischa POSLAWSKY
<netris@shiar.org>
Mon, 5 Mar 2007 18:31:24 +0000
(19:31 +0100)
committer
Mischa POSLAWSKY
<netris@shiar.org>
Mon, 5 Mar 2007 18:31:24 +0000
(19:31 +0100)
netris.h
patch
|
blob
|
history
diff --git
a/netris.h
b/netris.h
index 6cc395ca2c9edb9b0db31e57afc7249a56646998..6ed388cf58400d37936ff5c3343ea90aa5fd09d4 100644
(file)
--- a/
netris.h
+++ b/
netris.h
@@
-195,7
+195,7
@@
EXT _Game Game;
EXT short port; // => just in client.c, parameter to inet connect
-static const char
teamname[10][7
] = {
+static const char
*teamname[
] = {
"", "Green", "Cyan", "Blue", "Purple",
"Red", "Grey", "White", "*Orange"
};