openbsd-ports/astro/celestia/patches/patch-src_celestia_winmain_cpp
2011-07-09 01:41:13 +00:00

13 lines
705 B
Plaintext

$OpenBSD: patch-src_celestia_winmain_cpp,v 1.2 2011/07/09 01:41:13 ajacoutot Exp $
--- src/celestia/winmain.cpp.orig Sun Jun 5 18:11:13 2011
+++ src/celestia/winmain.cpp Sat Jul 9 03:23:48 2011
@@ -1385,7 +1385,7 @@ BOOL APIENTRY SelectDisplayModeProc(HWND hDlg,
bind_textdomain_codeset("celestia", CurrentCP());
SendMessage(hwnd, CB_INSERTSTRING, -1,
reinterpret_cast<LPARAM>(_("Windowed Mode")));
- bind_textdomain_codeset("celestia", "UTF8");
+ bind_textdomain_codeset("celestia", "UTF-8");
for (vector<DEVMODE>::const_iterator iter= displayModes->begin();
iter != displayModes->end(); iter++)