fixup! Add automatic installer and upgrader.
This commit is contained in:
parent
51d32de7c5
commit
4824083707
|
@ -651,7 +651,8 @@ int main(void)
|
|||
while ( true )
|
||||
{
|
||||
prompt(input, sizeof(input), "videomode",
|
||||
"Select a default display resolution? (yes/no)", def);
|
||||
"Select display resolution? "
|
||||
"(yes/no/WIDTHxHEIGHTxBPP)", def);
|
||||
unsigned int xres, yres, bpp;
|
||||
bool set = sscanf(input, "%ux%ux%u", &xres, &yres, &bpp) == 3;
|
||||
if ( !strcasecmp(input, "no") )
|
||||
|
|
|
@ -536,7 +536,8 @@ int main(void)
|
|||
while ( true )
|
||||
{
|
||||
prompt(input, sizeof(input), "videomode",
|
||||
"Select display resolution? (yes/no)", def);
|
||||
"Select display resolution? "
|
||||
"(yes/no/WIDTHxHEIGHTxBPP)", def);
|
||||
unsigned int xres, yres, bpp;
|
||||
bool set = sscanf(input, "%ux%ux%u", &xres, &yres, &bpp) == 3;
|
||||
if ( !set && strcasecmp(input, "no") && strcasecmp(input, "yes") )
|
||||
|
|
Loading…
Reference in New Issue