From 452435301520abcceea8a9751b36890596452c9b Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 4 Oct 2023 09:33:52 +0200 Subject: [PATCH] . --- Makefile | 2 +- src/ui_sdl.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 47f722f..2d33324 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ endif CFLAGS += $(shell pkg-config --cflags ncursesw) -DNCURSES_WIDECHAR=1 LIBS += $(shell pkg-config --libs ncursesw) -.PHONY: all clean clean-all pretty-code install +.PHONY: all clean clean-all pretty-code install mrproper all: dist/mkcard dist/checkrom dist/dump2rom dist/x48ng diff --git a/src/ui_sdl.c b/src/ui_sdl.c index 75b9759..323e892 100644 --- a/src/ui_sdl.c +++ b/src/ui_sdl.c @@ -2029,9 +2029,7 @@ void sdl_menu_draw_nibble( word_20 addr, word_4 val ) void sdl_draw_annunc( void ) { - int val; - - val = display.annunc; + int val = display.annunc; if ( val == last_annunc_state ) return;