diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c index b43acf0d979..9607dcc6f1d 100644 --- a/dlls/user32/dialog.c +++ b/dlls/user32/dialog.c @@ -1736,6 +1736,7 @@ static INT DIALOG_DlgDirListW( HWND hDlg, LPWSTR spec, INT idLBox, { WCHAR *p, *p2; p = spec; + if ((p2 = strchrW( p, ':' ))) p = p2 + 1; if ((p2 = strrchrW( p, '\\' ))) p = p2; if ((p2 = strrchrW( p, '/' ))) p = p2; if (p != spec)