Fixing open file dialog.

This commit is contained in:
Jean-Baptiste Perrier
2021-01-04 21:59:57 +01:00
parent d715c0c0dd
commit ed92489a60

View File

@@ -231,7 +231,9 @@ bool WindowsFileSystem::ShowOpenFileDialog(Window* parentWindow, const StringVie
while (*ptr)
{
filenames.Add(directory / ptr);
ptr += (lstrlenW(ptr) + 1);
ptr += lstrlenW(ptr);
if (multiSelect)
ptr++;
}
result = false;