Skip to content

Commit

Permalink
Fix gettext for tabs (windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockMen authored and PilzAdam committed Aug 19, 2013
1 parent ade70fe commit deaa8dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/guiFormSpecMenu.cpp
Expand Up @@ -1253,7 +1253,8 @@ void GUIFormSpecMenu::parseTabHeader(parserData* data,std::string element) {
for (unsigned int i=0; i< buttons.size(); i++) {
wchar_t* wbutton = 0;

wbutton = (wchar_t*) narrow_to_wide(buttons[i].c_str()).c_str();
std::wstring wlabel = narrow_to_wide(buttons[i]); //Needed for displaying text on windows
wbutton = (wchar_t*) wlabel.c_str();

e->addTab(wbutton,-1);
}
Expand Down

0 comments on commit deaa8dc

Please sign in to comment.