Changeset 551 for trunk/dll/misc.c
- Timestamp:
- Feb 28, 2007, 2:33:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r526 r551 103 103 GpiBox(hps, DRO_OUTLINE, &ptl, 0, 0); 104 104 DrgReleasePS(hps); 105 if (remove) 105 if (remove) //fixme always true 106 106 WinInvalidateRect(hwnd, NULL, FALSE); 107 107 } … … 111 111 { 112 112 HPS hps = DrgGetPS(WinQueryWindow(hwnd, QW_PARENT)); 113 113 114 if (hps) { 114 115 BoxWindow(hwnd, hps, ((on) ? CLR_BLACK : CLR_PALEGRAY)); … … 276 277 BOOL AdjustCnrColVis(HWND hwndCnr, CHAR * title, BOOL visible, BOOL toggle) 277 278 { 278 PFIELDINFO pfi = (PFIELDINFO)WinSendMsg(hwndCnr, 279 CM_QUERYDETAILFIELDINFO, 280 MPVOID, MPFROMSHORT(CMA_FIRST)); 279 PFIELDINFO pfi = (PFIELDINFO) WinSendMsg(hwndCnr, 280 CM_QUERYDETAILFIELDINFO, 281 MPVOID, MPFROMSHORT(CMA_FIRST)); 282 281 283 while (pfi) { 282 284 if (!strcmp(pfi->pTitleData, title)) { … … 303 305 BOOL AdjustCnrColRO(HWND hwndCnr, CHAR * title, BOOL readonly, BOOL toggle) 304 306 { 305 PFIELDINFO pfi = (PFIELDINFO)WinSendMsg(hwndCnr, 306 CM_QUERYDETAILFIELDINFO, 307 MPVOID, MPFROMSHORT(CMA_FIRST)); 307 PFIELDINFO pfi = (PFIELDINFO) WinSendMsg(hwndCnr, 308 CM_QUERYDETAILFIELDINFO, 309 MPVOID, MPFROMSHORT(CMA_FIRST)); 310 308 311 while (pfi) { 309 312 if (!strcmp(pfi->pTitleData, title)) { … … 343 346 if (!stricmp(FileSystem, HPFS) || 344 347 !stricmp(FileSystem, JFS) || 345 !stricmp(FileSystem, FAT32) || 346 !stricmp(FileSystem, NDFS32) || 347 !stricmp(FileSystem, HPFS386)) { 348 !stricmp(FileSystem, FAT32) || 349 !stricmp(FileSystem, NDFS32) || !stricmp(FileSystem, HPFS386)) { 348 350 hasCreateDT = TRUE; 349 351 hasAccessDT = TRUE; … … 615 617 616 618 if (pci && 617 (INT) pci != -1 &&619 (INT) pci != -1 && 618 620 !IsRoot(pci->szFileName) && 619 621 !(pci->flags & RECFLAGS_ENV) && !(pci->flags & RECFLAGS_UNDERENV)) { … … 886 888 lastflags = ex.flags; 887 889 return runemf2(ex.flags, hwnd, path, 888 (*ex.environment) ? ex.environment : NULL, 889 "%s", 890 cl) != -1; 890 (*ex.environment) ? ex.environment : NULL, "%s", cl) != -1; 891 891 } 892 892 else if (ret != 0) … … 1646 1646 WinSetWindowUShort(TreeCnrMenu, QWS_ID, IDM_VIEWSMENU); 1647 1647 SetConditionalCascade(TreeCnrMenu, IDM_PARTITIONSMENU, IDM_PARTITION); 1648 1649 1650 1648 if (fWorkPlace) 1649 WinSendMsg(TreeCnrMenu, MM_DELETEITEM, 1650 MPFROM2SHORT(IDM_PARTITIONSMENU, TRUE), MPVOID); 1651 1651 } 1652 1652 else if (hwndMenu == &ArcCnrMenu) { … … 1834 1834 if (fp) { 1835 1835 while (!feof(fp)) { 1836 if (!xfgets_bstripcr(var, sizeof(var), fp, pszSrcFile,__LINE__))1836 if (!xfgets_bstripcr(var, sizeof(var), fp, pszSrcFile, __LINE__)) 1837 1837 break; 1838 1838 if (!strnicmp(var, "LIBPATH=", 8)) {
Note:
See TracChangeset
for help on using the changeset viewer.