Skip to content

Commit 033225c

Browse files
committed
remove debug and fix warning
Signed-off-by: Michel-FK <[email protected]>
1 parent 61e7dea commit 033225c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

fk_menu.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define MIN(a,b) (((a)<(b))?(a):(b))
3636
#define MAX(a,b) (((a)>(b))?(a):(b))
3737

38-
#define MENU_DEBUG
38+
//#define MENU_DEBUG
3939
#define MENU_ERROR
4040

4141
#ifdef MENU_DEBUG
@@ -331,7 +331,7 @@ static void add_menu_zone(ENUM_MENU_TYPE menu_type)
331331
SDL_BlitSurface(text_surface, NULL, surface, &text_pos);
332332
break;
333333
#endif
334-
#ifdef HAS_MENU_POWERDOWN
334+
#ifdef HAS_MENU_POWERDOWN
335335
case MENU_TYPE_POWERDOWN:
336336
MENU_DEBUG_PRINTF("Init MENU_TYPE_POWERDOWN\n");
337337
/// ------ Text ------
@@ -340,6 +340,10 @@ static void add_menu_zone(ENUM_MENU_TYPE menu_type)
340340
text_pos.y = surface->h - MENU_ZONE_HEIGHT/2 - text_surface->h/2;
341341
SDL_BlitSurface(text_surface, NULL, surface, &text_pos);
342342
break;
343+
#endif
344+
#ifdef HAS_MENU_POWERDOWN
345+
case MENU_TYPE_RO_RW:
346+
break;
343347
#endif
344348
default:
345349
MENU_DEBUG_PRINTF("Warning - In add_menu_zone, unknown MENU_TYPE: %d\n", menu_type);

0 commit comments

Comments
 (0)