X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fleveleditor.cpp;h=d91363122a78615c5ce25f48d5854628075e67e1;hb=52e9a21b7e88054dcaee7249a83bba368c2cac1a;hp=8ada081d7aaf9f712f29ed765e26dda7263e08a3;hpb=7584a74e52195f0f8fa390952dfbb421e7c73f14;p=supertux.git diff --git a/src/leveleditor.cpp b/src/leveleditor.cpp index 8ada081d7..d91363122 100644 --- a/src/leveleditor.cpp +++ b/src/leveleditor.cpp @@ -1782,7 +1782,7 @@ void LevelEditor::showhelp() for(unsigned int t = 0; t < sizeof(text[i])/sizeof(char *); t++) context.draw_text(white_text, text[i][t], Vector(5, 80+(t*white_text->get_height())), LAYER_GUI); - sprintf(str,"Press any key to continue - Page %d/%d?", i, sizeof(text)); + sprintf(str,"Press any key to continue - Page %d/%d?", i, static_cast(sizeof(text))); context.draw_text(gold_text, str, Vector(0, 0), LAYER_GUI); context.do_drawing();