]> git.sur5r.net Git - c128-kasse/blobdiff - include/config.h
defined NICKNAME_MAX_LEN
[c128-kasse] / include / config.h
index 5393a56feb6678cee367356328caeae483629704..02513a461de15f0148a5a19995572093071690e0 100644 (file)
@@ -27,8 +27,9 @@ struct status_array_t {
 };
 
 /* Datenstruktur für die Guthaben */
+#define NICKNAME_MAX_LEN 10
 struct credits_t {
-       char nickname[11];
+       char nickname[NICKNAME_MAX_LEN + 1];
        /* Guthaben (in Cent) */
        unsigned int credit;
 };