Skip to content

Commit

Permalink
ensure touch keyboard is empty when it comes up
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Jan 9, 2019
1 parent 77aa621 commit 0223655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gp2x/menu/menu_config.cpp
Expand Up @@ -1143,9 +1143,9 @@ int saveconfig(int general)
#if defined(__SWITCH__) || defined(__PSP2__)
char buf[100] = "";
#ifdef __SWITCH__
kbdswitch_get("Enter config name:", "myconfig", 100, 0, buf);
kbdswitch_get("Enter config name:", "", 100, 0, buf);
#else
strcpy(buf, kbdvita_get("Enter config name:", "myconfig", 100, 0));
strcpy(buf, kbdvita_get("Enter config name:", "", 100, 0));
#endif
if (buf[0] == 0)
return 0;
Expand Down
4 changes: 2 additions & 2 deletions src/gp2x/menu/menu_savestates.cpp
Expand Up @@ -696,9 +696,9 @@ int run_menuSavestates()
#if defined(__SWITCH__) || defined(__PSP2__)
char buf[100] = "";
#ifdef __SWITCH__
kbdswitch_get("Enter savestate name:", "mysavestate", 100, 0, buf);
kbdswitch_get("Enter savestate name:", "", 100, 0, buf);
#else
strcpy(buf, kbdvita_get("Enter savestate name:", "mysavestate", 100, 0));
strcpy(buf, kbdvita_get("Enter savestate name:", "", 100, 0));
#endif
char save_export_filename[255] = "";
if (buf[0] != 0) {
Expand Down

0 comments on commit 0223655

Please sign in to comment.