X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2FguiTextInputMenu.cpp;h=c15eeedc5fae607c4463351c985c377fdcd48237;hb=d5ca3b721e049fc4f59718a55c932a06533d4b3c;hp=857c26a457184893b757b918448c9474ec8f325e;hpb=30b9a4d6b479ecfcb84d4803f5d15ee9b6c7edd6;p=dragonfireclient.git diff --git a/src/guiTextInputMenu.cpp b/src/guiTextInputMenu.cpp index 857c26a45..c15eeedc5 100644 --- a/src/guiTextInputMenu.cpp +++ b/src/guiTextInputMenu.cpp @@ -1,6 +1,6 @@ /* -Minetest-c55 -Copyright (C) 2010 celeron55, Perttu Ahola +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -127,8 +127,10 @@ void GUITextInputMenu::regenerateGui(v2u32 screensize) { core::rect rect(0, 0, 140, 30); rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25); + wchar_t* text = wgettext("Proceed"); Environment->addButton(rect, this, 257, - wgettext("Proceed")); + text); + delete[] text; } changeCtype("C"); }