summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14365c8)
raw | patch | inline | side by side (parent: 14365c8)
author | scislac <scislac@users.sourceforge.net> | |
Tue, 22 Sep 2009 20:21:38 +0000 (20:21 +0000) | ||
committer | scislac <scislac@users.sourceforge.net> | |
Tue, 22 Sep 2009 20:21:38 +0000 (20:21 +0000) |
src/dialogs/export.cpp | patch | blob | history |
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp
index ce0786a01f6cab8efc6e95f2f23a28542ad4f873..adadcd2f65ab13fc7ab86992228779e3c7a5f628 100644 (file)
--- a/src/dialogs/export.cpp
+++ b/src/dialogs/export.cpp
#ifdef WIN32
// code in this section is borrowed from ui/dialogs/filedialogimpl-win32.cpp
OPENFILENAMEW opf;
- WCHAR* filter_string = (WCHAR*)g_utf8_to_utf16("PNG\0*.png\0\0", 12, NULL, NULL, NULL);
+ WCHAR* filter_string = (WCHAR*)g_utf8_to_utf16("PNG\0*.png\0", 10, NULL, NULL, NULL);
WCHAR* title_string = (WCHAR*)g_utf8_to_utf16(_("Select a filename for exporting"), -1, NULL, NULL, NULL);
WCHAR* extension_string = (WCHAR*)g_utf8_to_utf16("*.png", -1, NULL, NULL, NULL);
// Copy the selected file name, converting from UTF-8 to UTF-16