Changeset 930 for trunk/dll/misc.c
- Timestamp:
- Jan 19, 2008, 2:54:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r923 r930 37 37 22 Nov 07 GKY Use CopyPresParams to fix presparam inconsistencies in menus 38 38 12 Jan 08 SHL Document SetConditionalCascade 39 xx Jan 08 JBS Ticket 150: fix/improve save and restore of dir cnr state at FM/2 close/reopen 39 40 40 41 ***********************************************************************/ … … 44 45 #include <ctype.h> 45 46 #include <share.h> 46 #include <malloc.h> 47 #include <malloc.h> // _heapmin 47 48 48 49 #define INCL_DOS … … 53 54 #include "fm3dlg.h" 54 55 #include "fm3str.h" 55 #include "pathutil.h" 56 #include "errutil.h" 57 #include "strutil.h" 56 #include "pathutil.h" // BldQuotedFileName 57 #include "errutil.h" // Dos_Error... 58 #include "strutil.h" // GetPString 58 59 #include "fm3dll.h" 59 60 … … 63 64 64 65 #ifndef BEGIN_LIBPATH 65 #define BEGIN_LIBPATH 66 #define BEGIN_LIBPATH 1 66 67 #endif 67 68 68 69 #ifndef END_LIBPATH 69 #define END_LIBPATH 70 #define END_LIBPATH 2 70 71 #endif 71 72 … … 803 804 if (strcmp(szData, testname)) { 804 805 if (stricmp(szData, testname) && IsFile(testname) != -1) { 805 DosBeep(50, 100); 806 DosBeep(50, 100); /* exists; disallow */ 806 807 return (MRESULT) FALSE; 807 808 } … … 1343 1344 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1344 1345 if (dcd->SubjectDisplayWidth < 50) 1345 1346 dcd->SubjectDisplayWidth = 0; 1346 1347 else if (dcd->SubjectDisplayWidth > 1000) 1347 1348 dcd->SubjectDisplayWidth = 1000; 1348 1349 } 1349 1350 } … … 1358 1359 PrfQueryProfileData(fmprof, appname, s, (PVOID) bool, &size); 1359 1360 if (SubjectDisplayWidth < 50) 1360 1361 SubjectDisplayWidth = 0; 1361 1362 else if (SubjectDisplayWidth > 1000) 1362 1363 SubjectDisplayWidth = 1000; 1363 1364 } 1364 1365 } … … 1453 1454 MPFROMLONG(CMA_FIRST), 1454 1455 MPFROMSHORT(attrib)); 1455 if ((!pmi || (INT) pmi == -1) && attrib == CRA_SELECTED) 1456 if ((!pmi || (INT) pmi == -1) && attrib == CRA_SELECTED) /* punt */ 1456 1457 attrib = CRA_CURSORED; 1457 1458 else … … 1479 1480 if (WinPeekMsg((HAB) 0, &qmsg, (HWND) 0, 0, 0, PM_NOREMOVE)) 1480 1481 break; // Queue has message(s) 1481 } 1482 } // for 1482 1483 } 1483 1484 }
Note:
See TracChangeset
for help on using the changeset viewer.