diff --git a/README b/README index d23028e..f414e5f 100644 --- a/README +++ b/README @@ -25,6 +25,7 @@ v0.25 - Check right pointer (Thanks PartialVolume) - Fix casting problem (Thanks PartialVolume) - Fix serial number +- Fixes uninitialized variable warning ( Thanks PartialVolume) v0.24 - use include values for version 0.17 diff --git a/src/gui.c b/src/gui.c index 09115fa..2d96e7f 100644 --- a/src/gui.c +++ b/src/gui.c @@ -1257,7 +1257,7 @@ void nwipe_gui_noblank( void ) nwipe_gui_title( footer_window, nwipe_buttons2 ); wrefresh( footer_window ); - while( keystroke != ERR ) + do { /* Clear the main window. */ werase( main_window ); @@ -1339,8 +1339,9 @@ void nwipe_gui_noblank( void ) } /* switch */ - } /* while */ + } + while( keystroke != ERR ); } /* nwipe_gui_noblank */