Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use utf-8 in formspecs
  • Loading branch information
Ilya Zhuravlev authored and est31 committed Jun 13, 2015
1 parent 572990d commit b6387b4
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 85 deletions.
3 changes: 2 additions & 1 deletion src/game.cpp
Expand Up @@ -1148,7 +1148,8 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec,
LocalFormspecHandler *txt_dst = new LocalFormspecHandler("MT_PAUSE_MENU");

create_formspec_menu(cur_formspec, invmgr, gamedef, tsrc, device, fs_src, txt_dst, NULL);
(*cur_formspec)->setFocus(L"btn_continue");
std::string con("btn_continue");
(*cur_formspec)->setFocus(con);
(*cur_formspec)->doPause = true;
}

Expand Down

0 comments on commit b6387b4

Please sign in to comment.