X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fscreens.c;h=6ba029e74cb795b1b0e8902d34a678d9a47d89f7;hp=eeb2bcf704e1f789d9fbeb40223c6b83b6295dcc;hb=548bc4ec64319d780a7bc38a6d0141bf526c7e16;hpb=e618ade7dbf72d9ee207ff02ec6f79745234aa0d diff --git a/src/screens.c b/src/screens.c index eeb2bcf7..6ba029e7 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1849,7 +1849,11 @@ static char *getHelpText(int element, int action, int direction) void DrawInfoScreen_HelpText(int element, int action, int direction, int ypos) { +#if 1 + int font_nr = FONT_INFO_ELEMENTS; +#else int font_nr = FONT_LEVEL_NUMBER; +#endif int font_width = getFontWidth(font_nr); int sx = mSX + MINI_TILEX + TILEX + MINI_TILEX; int sy = mSY + 65 + 2 * 32 + 1; @@ -2452,7 +2456,11 @@ void DrawInfoScreen_LevelSet() int ystart = 150; int ybottom = SYSIZE - 20; char *filename = getLevelSetInfoFilename(); +#if 1 + int font_nr = FONT_INFO_LEVELSET; +#else int font_nr = FONT_LEVEL_NUMBER; +#endif int font_width = getFontWidth(font_nr); int font_height = getFontHeight(font_nr); int pad_x = 32;