Fix win_get_str return code

This commit is contained in:
Alexander Batalov 2023-07-21 11:22:57 +03:00
parent 7a45ac72f0
commit d27eafe03a
1 changed files with 2 additions and 2 deletions

View File

@ -612,7 +612,7 @@ int _win_get_str(char* dest, int length, const char* title, int x, int y)
windowRefresh(win);
_win_input_str(win,
int rc = _win_input_str(win,
dest,
length,
16,
@ -622,7 +622,7 @@ int _win_get_str(char* dest, int length, const char* title, int x, int y)
windowDestroy(win);
return 0;
return rc;
}
// 0x4DB920