- Timestamp:
- Sep 30, 2002, 11:40:37 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comdlg32/filedlg95.c
r8612 r9306 1112 1112 1113 1113 Q: What about Unicode? 1114 1114 1115 */ 1115 1116 … … 1132 1133 pidlItemId = GetPidlFromName(fodInfos->Shell.FOIShellFolder, path); 1133 1134 } 1134 1135 #ifdef __WIN32OS2__ 1136 /* @PF Another WINE hole. If lpstrInitialDir is not a dir but a filename 1137 skip it and use current directory. */ 1138 1139 else 1140 { 1141 DWORD dwAttr = GetFileAttributesA(fodInfos->ofnInfos->lpstrInitialDir); 1142 if(dwAttr != -1 ) 1143 { 1144 if (!(dwAttr & FILE_ATTRIBUTE_DIRECTORY)) 1145 { 1146 char path[MAX_PATH]; 1147 1148 GetCurrentDirectoryA(MAX_PATH,path); 1149 COMDLG32_SHFree(pidlItemId); 1150 pidlItemId = GetPidlFromName(fodInfos->Shell.FOIShellFolder, path); 1151 } 1152 } 1153 } 1154 #endif 1135 1155 /* Initialise shell objects */ 1136 1156 FILEDLG95_SHELL_Init(hwnd); … … 2886 2906 2887 2907 TRACE("%p, %p\n", psf, pidl); 2888 2889 2890 2908 2909 ret = IShellFolder_GetAttributesOf( psf, 1, &pidl, &uAttr ); 2910 2891 2911 TRACE("-- 0x%08lx 0x%08lx\n", uAttr, ret); 2892 2912 /* see documentation shell 4.1*/
Note:
See TracChangeset
for help on using the changeset viewer.