Skip to content
Snippets Groups Projects
Commit 8d8e083c authored by Deucе's avatar Deucе :ok_hand_tone4:
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 7e36f579
No related branches found
No related tags found
No related merge requests found
......@@ -1675,7 +1675,8 @@ void change_settings(int connected)
j=settings.startup_mode;
uifc.helpbuf= "`Startup Screen Mode`\n\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:
check_exit(FALSE);
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment