Changeset 1118 for trunk/dll/saveclip.c


Ignore:
Timestamp:
Aug 24, 2008, 10:52:23 PM (17 years ago)
Author:
Gregg Young
Message:

Clean up of fix for trap caused by FM/2 being on a full disk. It now preserves the data files. (Ticket 152, 271)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/saveclip.c

    r1117 r1118  
    282282      if (sMax > 0) {
    283283        BldFullPathName(szBuffer, pFM2SaveDirectory, "PATTERNS.DAT");
    284         if (CheckDriveSpaceAvail(szBuffer, ullDATFileSpaceNeeded, 0) == 2)
     284        if (CheckDriveSpaceAvail(szBuffer, ullDATFileSpaceNeeded, 1) == 2)
    285285          break; //already gave error msg
    286286        fp = xfopen(szBuffer, "w", pszSrcFile, __LINE__);
     
    637637      if (sMax > 0) {
    638638        BldFullPathName(szBuffer, pFM2SaveDirectory, "PATTERNS.DAT");
    639         if (CheckDriveSpaceAvail(szBuffer, ullDATFileSpaceNeeded, 0) == 2)
     639        if (CheckDriveSpaceAvail(szBuffer, ullDATFileSpaceNeeded, 1) == 2)
    640640          break; //already gave error msg
    641641        fp = xfopen(szBuffer, "w", pszSrcFile, __LINE__);
Note: See TracChangeset for help on using the changeset viewer.