summaryrefslogtreecommitdiffstats
path: root/src/common/restext.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-11 17:28:27 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-11 17:28:27 +0200
commita8665d204255b4b0ad9ae6982f77ecd5e053c1b6 (patch)
tree5f7e58785f5175e7f067ffaf8f96d16272c92d1e /src/common/restext.cpp
parent8ffdf2583e4ea77731490dcaad51dbc08d7f26fa (diff)
downloadcolobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.gz
colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.tar.bz2
colobot-a8665d204255b4b0ad9ae6982f77ecd5e053c1b6.zip
Changed #defined constants to consts; typedef struct -> struct
Diffstat (limited to 'src/common/restext.cpp')
-rw-r--r--src/common/restext.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/restext.cpp b/src/common/restext.cpp
index 34c91f2..725a96a 100644
--- a/src/common/restext.cpp
+++ b/src/common/restext.cpp
@@ -49,12 +49,11 @@ void SetGlobalGamerName(char *name)
-typedef struct
+struct KeyDesc
{
KeyRank key;
char name[20];
-}
-KeyDesc;
+};
static KeyDesc keyTable[22] =
{