> i had a look at the dialog boxes (and why they no longer work)
> it seems the issue comes from a subtle change to PathIsRoot
I changed the FIleDialog in my tree so I didn't noticed this one.
What about this:
--- shlfolder.c Sun Apr 23 14:36:54 2000
+++ /usr/src/wine/dlls/shell32/shlfolder.c Thu May 11 19:24:08 2000
@@ -1850,6 +2122,6 @@
*ppidl = 0;
if (pchEaten) *pchEaten = 0; /* strange but like the original */
- if (PathIsRootW(lpszDisplayName))
+ if ( PathGetDriveNumberW(lpszDisplayName)!=-1 )
{
szNext = GetNextElementW(lpszDisplayName, szElement, MAX_PATH);
(behaves a bit different than your solution in case of "c:" )
(#include "shlwapi.h" is needed too)
juergen
---
[EMAIL PROTECTED]
... from sunny Berlin