From: Holger Schemel Date: Tue, 5 Feb 2019 20:57:02 +0000 (+0100) Subject: minor comments and whitespace changes X-Git-Tag: 4.1.2.0~27 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5ec24525b32769d5ce634218dea77c110e22ed8c;p=rocksndiamonds.git minor comments and whitespace changes --- diff --git a/src/screens.c b/src/screens.c index 3bc81cfe..bd59b4cd 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1906,7 +1906,7 @@ static void HandleMainMenu_SelectLevel(int step, int direction, if (new_level_nr != old_level_nr) { - struct MainControlInfo *mci= getMainControlInfo(MAIN_CONTROL_LEVEL_NUMBER); + struct MainControlInfo *mci = getMainControlInfo(MAIN_CONTROL_LEVEL_NUMBER); PlaySound(SND_MENU_ITEM_SELECTING); @@ -1927,9 +1927,8 @@ static void HandleMainMenu_SelectLevel(int step, int direction, UpdateScreenMenuGadgets(SCREEN_MASK_MAIN_HAS_SOLUTION, hasSolutionTape()); - // needed because DrawPreviewLevelInitial() takes some time + // force redraw of playfield area (may be reset at this point) redraw_mask |= REDRAW_FIELD; - // SyncDisplay(); } }