Commit f688ecce authored by Deucе's avatar Deucе 👌🏾
Browse files

Passing a NULL bar prevents *cur from being off the first screen.

Instead, just set bar to the end and let ulist() sort it out.  It
sucks, but it sucks less.
parent d152e792
...@@ -1675,7 +1675,8 @@ void change_settings(int connected) ...@@ -1675,7 +1675,8 @@ void change_settings(int connected)
j=settings.startup_mode; j=settings.startup_mode;
uifc.helpbuf= "`Startup Screen Mode`\n\n" uifc.helpbuf= "`Startup Screen Mode`\n\n"
"Select the screen mode/size for at startup\n"; "Select the screen mode/size for at startup\n";
switch(i=uifc.list(WIN_SAV,0,0,0,&j,NULL,"Startup Screen Mode",screen_modes)) { i = sizeof(screen_modes)/sizeof(screen_modes[0]);
switch(i=uifc.list(WIN_SAV,0,0,0,&j,&i,"Startup Screen Mode",screen_modes)) {
case -1: case -1:
check_exit(FALSE); check_exit(FALSE);
continue; continue;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment