Changeset 1891 for trunk/dll/init.c
- Timestamp:
- Jan 31, 2020, 3:47:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/init.c
r1877 r1891 218 218 #include "systemf.h" // runemf2 219 219 220 #if 0221 #define _ _PMPRINTF__220 #ifdef PMPRINTF 221 #define _PMPRINTF_ // Enable debug macros 222 222 #include "PMPRINTF.H" 223 223 #endif … … 748 748 } 749 749 750 #if 0750 #ifdef PMPRINTF 751 751 PmPrintfDisplayInterfaceVersionInfo(); 752 752 PmPrintfQueueNameThisProcess(NULL); … … 940 940 strcpy(inipath, profile); 941 941 } 942 } // fixmethe DosCopies probably fail if the INI isn't in the FM2 directory GKY 06 Aug 11942 } // FIXME the DosCopies probably fail if the INI isn't in the FM2 directory GKY 06 Aug 11 943 943 if (!*inipath) 944 944 strcpy(inipath, profile); … … 953 953 fWantFirstTimeInit = TRUE; 954 954 } 955 if (!fWantFirstTimeInit) { //Check the ini file header and restore from backup if corupted 955 if (!fWantFirstTimeInit) { 956 // Check the ini file header and restore from backup if corupted 956 957 if (!CheckFileHeader(inipath, "\xff\xff\xff\xff\x14\x00\x00\x00", 0L)) { 957 958 saymsg(MB_ENTER,HWND_DESKTOP, GetPString(IDS_DEBUG_STRING), … … 984 985 } 985 986 986 // 10 Jan 08 SHL fixmeto do first time if new ini987 // 10 Jan 08 SHL FIXME to do first time if new ini 987 988 // 10 Jan 08 SHL post UM_FIRSTTIME to main window 988 989 if (!fmprof) { … … 1225 1226 prntabspaces = 8; 1226 1227 CollectorsortFlags = sortFlags = SORT_FILENAME | SORT_DIRSFIRST; 1227 // Get default Country info1228 // Get default Country info 1228 1229 { 1229 1230 COUNTRYCODE Country = {0}; … … 1261 1262 fLVM = TRUE; 1262 1263 1263 // Check for unlock.exe1264 // Check for unlock.exe 1264 1265 if (!xDosQueryAppType(PCSZ_UNLOCKEXE, &ulAppType)) 1265 1266 fUnlock = TRUE; … … 1324 1325 editor = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1325 1326 if (!editor) 1326 return 0; // already complained1327 return 0; // already complained 1327 1328 viewer = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1328 1329 if (!viewer) 1329 return 0; // already complained1330 return 0; // already complained 1330 1331 virus = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1331 1332 if (!virus) 1332 return 0; // already complained1333 return 0; // already complained 1333 1334 compare = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1334 1335 if (!compare) 1335 return 0; // already complained1336 return 0; // already complained 1336 1337 binview = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1337 1338 if (!binview) 1338 return 0; // already complained1339 return 0; // already complained 1339 1340 bined = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1340 1341 if (!bined) 1341 return 0; // already complained1342 return 0; // already complained 1342 1343 dircompare = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1343 1344 if (!dircompare) 1344 return 0; // already complained1345 return 0; // already complained 1345 1346 ftprun = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1346 1347 if (!ftprun) 1347 return 0; // already complained1348 return 0; // already complained 1348 1349 httprun = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1349 1350 if (!httprun) 1350 return 0; // already complained1351 return 0; // already complained 1351 1352 mailrun = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1352 1353 if (!mailrun) 1353 return 0; // already complained1354 return 0; // already complained 1354 1355 pszTreeEnvVarList = xmallocz(MaxComLineStrg, pszSrcFile, __LINE__); 1355 1356 if (!pszTreeEnvVarList) 1356 return 0; // already complained1357 return 0; // already complained 1357 1358 size = sizeof(BOOL); 1358 1359 PrfQueryProfileData(fmprof, FM3Str, "DontSuggestAgain", &fDontSuggestAgain, &size); … … 1803 1804 int ok = 0; 1804 1805 1805 // fixmeto do useful check - was missing in base source1806 // FIXME to do useful check - was missing in base source 1806 1807 1807 1808 #if 0
Note:
See TracChangeset
for help on using the changeset viewer.