Remove unnecessary locale/UTF-8 encoding conversions

This commit is contained in:
Jānis Rūcis
2010-05-20 19:13:48 +03:00
parent f1193766e1
commit b566370748
9 changed files with 20 additions and 38 deletions

View File

@@ -176,7 +176,7 @@ int DoLoadPortalFileDialog ()
}
StringOutputStream value(256);
value << ConvertLocaleToUTF8(portals.fn);
value << portals.fn;
gtk_entry_set_text (GTK_ENTRY (entry), value.c_str());
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check2d), portals.show_2d);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check3d), portals.show_3d);