Changeset 1754
- Timestamp:
- Mar 2, 2014, 10:05:02 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/dll/filldir.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filldir.c
r1690 r1754 99 99 12 Jun 11 GKY Replaced SleepIfNeeded with IdleIfNeeded in the container loade loop 100 100 22 Oct 11 GKY Removing unneeded UnFlesh call from StubbyScanThread appears to significantly speed opening of FM/2 101 02 Mar 14 GKY !didone for fFirstTime so the suggest code works again. Also clear out the 102 garbage that was appearing in the string. 101 103 102 104 ***********************************************************************/ … … 149 151 // Data definitions 150 152 static PSZ pszSrcFile = __FILE__; 151 static BOOL fFirstTime;152 153 INT FixedVolume = 0; 153 154 … … 1279 1280 UINT iDrvNum; 1280 1281 ULONG ulDriveMapMask; 1281 CHAR szSuggest[32] ; // Suggested startup command line parameters1282 CHAR szSuggest[32] = {0}; // Suggested startup command line parameters 1282 1283 CHAR szDrive[CCHMAXPATH] = " :\\"; // 13 Oct 09 SHL 1283 1284 CHAR szFSType[CCHMAXPATH]; … … 1714 1715 BOOL includesyours = FALSE; 1715 1716 1716 // 10 Jan 08 SHL fixme to understand fFirstTime - looks obsolete to me - probably mean didonce?1717 if (*szSuggest || ~driveflags[1] & DRIVE_IGNORE && fFirstTime) {1717 // 02 Mar 14 GKY !didone for fFirstTime so it works again 1718 if (*szSuggest || ~driveflags[1] & DRIVE_IGNORE && !didonce) { 1718 1719 if (!DosDevConfig(&info, DEVINFO_FLOPPY) && info == 1) { 1719 1720 if (!*szSuggest) { … … 1726 1727 } 1727 1728 } 1729 //DbgMsg(pszSrcFile, __LINE__, "szSuggest %x info %x", *szSuggest, info); 1728 1730 if (*szSuggest) { 1729 1731 APIRET rc; … … 1736 1738 strcat(szSuggest, " %*"); 1737 1739 rc = saymsg(MB_YESNOCANCEL | MB_ICONEXCLAMATION, 1738 hwndParent ? hwndParent : hwndCnr,1739 GetPString(IDS_SUGGESTTITLETEXT),1740 GetPString(IDS_SUGGEST1TEXT),1741 (includesyours) ? GetPString(IDS_SUGGEST2TEXT) : NullStr,1742 szSuggest);1740 hwndParent ? hwndParent : hwndCnr, 1741 GetPString(IDS_SUGGESTTITLETEXT), 1742 GetPString(IDS_SUGGEST1TEXT), 1743 (includesyours) ? GetPString(IDS_SUGGEST2TEXT) : NullStr, 1744 szSuggest); 1743 1745 if (rc == MBID_YES) { 1744 1746 HOBJECT hFM2Object;
Note:
See TracChangeset
for help on using the changeset viewer.
