1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 03:09:59 +00:00

natchars should be const char*

This commit is contained in:
Zeno Rogue 2019-09-06 09:18:24 +02:00
parent ebc44af74c
commit 7c56ff19c8

View File

@ -327,7 +327,7 @@ int main() {
printf("};\n");
printf("extern char* natchars[NUMEXTRA];\n");
printf("#endif\n");
printf("char* natchars[NUMEXTRA] = NATCHARS;\n");
printf("const char* natchars[NUMEXTRA] = NATCHARS;\n");
printf("//javastring = \"%s\";\n", javastring.c_str());
printf("\nEX int transcompleteness[NUMLAN] = {");