Revision 97ad1c26

b/ui/sdl.c
583 583
                        gui_keysym = 1;
584 584
                        break;
585 585
                    case 0x16: /* 'u' key on US keyboard */
586
                        scaling_active = 0;
587
                        sdl_resize(ds);
588
                        vga_hw_invalidate();
589
                        vga_hw_update();
586
                        if (scaling_active) {
587
                            scaling_active = 0;
588
                            sdl_resize(ds);
589
                            vga_hw_invalidate();
590
                            vga_hw_update();
591
                        }
590 592
                        break;
591 593
                    case 0x02 ... 0x0a: /* '1' to '9' keys */
592 594
                        /* Reset the modifiers sent to the current console */

Also available in: Unified diff