mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Fix save_filename crash
This commit is contained in:
@@ -5189,9 +5189,9 @@ int save_filename_ui(pixel *vid_buf)
|
|||||||
ed.def = "[filename]";
|
ed.def = "[filename]";
|
||||||
ed.focus = 1;
|
ed.focus = 1;
|
||||||
ed.hide = 0;
|
ed.hide = 0;
|
||||||
ed.cursor = strlen(svf_name);
|
ed.cursor = 0;
|
||||||
ed.multiline = 0;
|
ed.multiline = 0;
|
||||||
strcpy(ed.str, "");
|
ed.str[0] = 0;
|
||||||
|
|
||||||
while (!sdl_poll())
|
while (!sdl_poll())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user