diff options
| author | Josh Andler <scislac@gmail.com> | 2009-09-22 20:21:38 +0000 |
|---|---|---|
| committer | scislac <scislac@users.sourceforge.net> | 2009-09-22 20:21:38 +0000 |
| commit | 338d3664cbe9c56464338c45c420c9618229e731 (patch) | |
| tree | c6259f8232f647ab5ecefec1fd247de52aa8a3cc /src/dialogs/export.cpp | |
| parent | Various Japanese translation updates by Masato HASHIMOTO (diff) | |
| download | inkscape-338d3664cbe9c56464338c45c420c9618229e731.tar.gz inkscape-338d3664cbe9c56464338c45c420c9618229e731.zip | |
Patch by Adib for 431022. Appears safe, however, I am unable to test as it is/was a win32 issue only.
(bzr r8631)
Diffstat (limited to 'src/dialogs/export.cpp')
| -rw-r--r-- | src/dialogs/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index ce0786a01..adadcd2f6 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -1358,7 +1358,7 @@ sp_export_browse_clicked (GtkButton */*button*/, gpointer /*userdata*/) #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 |
