mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 13:42:14 +00:00
Merge pull request #417 from PartialVolume/Fix_zero_length_strings
Fixes a compiler warning -Wformat-zero-length string
This commit is contained in:
@@ -1433,7 +1433,7 @@ void nwipe_gui_rounds( void )
|
|||||||
yy = 4;
|
yy = 4;
|
||||||
|
|
||||||
mvwprintw( main_window, yy++, tab1, "This is the number of times to run the wipe method on each device." );
|
mvwprintw( main_window, yy++, tab1, "This is the number of times to run the wipe method on each device." );
|
||||||
mvwprintw( main_window, yy++, tab1, "" );
|
yy++;
|
||||||
|
|
||||||
if( focus > 0 )
|
if( focus > 0 )
|
||||||
{
|
{
|
||||||
@@ -1582,7 +1582,7 @@ void nwipe_gui_prng( void )
|
|||||||
mvwprintw( main_window, yy++, tab1, " %s", nwipe_twister.label );
|
mvwprintw( main_window, yy++, tab1, " %s", nwipe_twister.label );
|
||||||
mvwprintw( main_window, yy++, tab1, " %s", nwipe_isaac.label );
|
mvwprintw( main_window, yy++, tab1, " %s", nwipe_isaac.label );
|
||||||
mvwprintw( main_window, yy++, tab1, " %s", nwipe_isaac64.label );
|
mvwprintw( main_window, yy++, tab1, " %s", nwipe_isaac64.label );
|
||||||
mvwprintw( main_window, yy++, tab1, "" );
|
yy++;
|
||||||
|
|
||||||
/* Print the cursor. */
|
/* Print the cursor. */
|
||||||
mvwaddch( main_window, 3 + focus, tab1, ACS_RARROW );
|
mvwaddch( main_window, 3 + focus, tab1, ACS_RARROW );
|
||||||
|
|||||||
Reference in New Issue
Block a user