Fix filesel dialog with filter for Win32.
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 11 Jul 2016 21:53:34 +0000 (23:53 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 11 Jul 2016 21:53:34 +0000 (23:53 +0200)
commit88d81f3035e8fe2d760ba7b237550a5d11193720
treead1b0b53c59d3a21c6873e56b705857c20ae870d
parentcca1d5d3d111cf31f811bcbadfcf634a16859c8c
Fix filesel dialog with filter for Win32.

g_utf8_to_utf16() always stops on first null byte,
so we have to construct the "filter\0filter\0\0"
string for GetOpenFileName() manually.
src/gtk/w32_filesel.c