Skip to content

Commit b6387b4

Browse files
Ilya Zhuravlevest31
Ilya Zhuravlev
authored andcommittedJun 13, 2015
Use utf-8 in formspecs
1 parent 572990d commit b6387b4

File tree

4 files changed

+101
-85
lines changed

4 files changed

+101
-85
lines changed
 

‎src/game.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,8 @@ static void show_pause_menu(GUIFormSpecMenu **cur_formspec,
11481148
LocalFormspecHandler *txt_dst = new LocalFormspecHandler("MT_PAUSE_MENU");
11491149

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

0 commit comments

Comments
 (0)
Please sign in to comment.