Changeset 1398 for trunk/dll/avv.c
- Timestamp:
- Feb 21, 2009, 6:43:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/avv.c
r1395 r1398 243 243 HWND_DESKTOP, 244 244 GetPString(IDS_NOTETEXT), GetPString(IDS_SAVEARCBB2TEXT)); 245 archiverbb2 = ARCHIVERBB2;245 archiverbb2 = (PSZ) PCSZ_ARCHIVERBB2; 246 246 } 247 247 /* Check space on drive*/ … … 251 251 /* save a backup */ 252 252 psz = strrchr(archiverbb2, '.'); 253 if (psz && !stricmp(psz, ".BB2")) {253 if (psz && !stricmp(psz, PCSZ_DOTBB2)) { 254 254 strcpy(psz, ".BAK"); 255 255 DosDelete(archiverbb2); 256 256 strcpy(sz, archiverbb2); 257 strcpy(psz, ".BB2");257 strcpy(psz, PCSZ_DOTBB2); 258 258 DosMove(archiverbb2, sz); 259 259 fpOld = fopen(sz, "r"); // OK for file not to exist … … 270 270 fprintf(fpNew, 271 271 ";\n; %s file written by FM/2 v%d.%02d on %u/%u/%u %u:%02u:%02u\n;\n", 272 ARCHIVERBB2,272 PCSZ_ARCHIVERBB2, 273 273 VERMAJOR, VERMINOR, 274 274 tm->tm_mon + 1, tm->tm_mday, tm->tm_year + 1900, … … 289 289 else { 290 290 // Write default header 291 fputs( ARCHIVERBB2, fpNew);291 fputs(PCSZ_ARCHIVERBB2, fpNew); 292 292 } 293 293 pat = arcsighead; … … 915 915 PSZ ab2; 916 916 917 ab2 = searchpath( ARCHIVERBB2); // Rewrite without alerting917 ab2 = searchpath(PCSZ_ARCHIVERBB2); // Rewrite without alerting 918 918 rewrite_archiverbb2(ab2); 919 919 }
Note:
See TracChangeset
for help on using the changeset viewer.