Skip to content
Snippets Groups Projects
Commit f688ecce 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 d152e792
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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