diff options
author | sapier <Sapier at GMX dot net> | 2013-11-03 17:28:16 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2013-11-11 19:56:49 +0100 |
commit | 22a59b3912ff5e7bb1516faa06f1841545a8117c (patch) | |
tree | fa4e98374808d149b41ad7251425d6cab61dd918 /src/guiFormSpecMenu.cpp | |
parent | 0f9440fa61fbfd95b0c06217d08b07c81c897ee0 (diff) | |
download | minetest-22a59b3912ff5e7bb1516faa06f1841545a8117c.tar.gz minetest-22a59b3912ff5e7bb1516faa06f1841545a8117c.tar.bz2 minetest-22a59b3912ff5e7bb1516faa06f1841545a8117c.zip |
Fix win32/msvc i18n (quite UGLY version, blame Microsoft)
Diffstat (limited to 'src/guiFormSpecMenu.cpp')
-rw-r--r-- | src/guiFormSpecMenu.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp index aa1e2d9c9..eecd2c1b2 100644 --- a/src/guiFormSpecMenu.cpp +++ b/src/guiFormSpecMenu.cpp @@ -1629,7 +1629,6 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) std::vector<std::string> elements = split(m_formspec_string,']'); - for (unsigned int i=0;i< elements.size();i++) { parseElement(&mydata,elements[i]); } @@ -1648,7 +1647,6 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) recalculateAbsolutePosition(false); mydata.basepos = getBasePos(); - changeCtype(""); { v2s32 pos = mydata.basepos; pos.Y = ((m_fields.size()+2)*60); @@ -1659,7 +1657,7 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize) Environment->addButton(mydata.rect, this, 257, text); delete[] text; } - changeCtype("C"); + } //set initial focus if parser didn't set it |