Changeset 1391 for trunk/dll/avv.c


Ignore:
Timestamp:
Jan 12, 2009, 12:55:53 AM (17 years ago)
Author:
Gregg Young
Message:

Move nontranslated strings to init.c and codepage.c; use those strings in place of GetPString calls. Move other strings to a StringTable; minor cleanup and code changes to codepage.c to use a string array instead of GetPString calls. Ticket 340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/avv.c

    r1346 r1391  
    2828  24 Aug 08 GKY Warn full drive on save of .BB2 file; prevent loss of existing file
    2929  23 Nov 08 JBS Support use of CMD files in archiver definitions
     30  11 Jan 08 GKY Replace "ARCHIVER.BB2" in string file with global set at compile in init.c
    3031
    3132***********************************************************************/
     
    242243           HWND_DESKTOP,
    243244           GetPString(IDS_NOTETEXT), GetPString(IDS_SAVEARCBB2TEXT));
    244     archiverbb2 = GetPString(IDS_ARCHIVERBB2);
     245    archiverbb2 = ARCHIVERBB2;
    245246  }
    246247  /* Check space on drive*/
     
    269270    fprintf(fpNew,
    270271            ";\n; %s file written by FM/2 v%d.%02d on %u/%u/%u %u:%02u:%02u\n;\n",
    271             GetPString(IDS_ARCHIVERBB2),
     272            ARCHIVERBB2,
    272273            VERMAJOR, VERMINOR,
    273274            tm->tm_mon + 1, tm->tm_mday, tm->tm_year + 1900,
     
    288289    else {
    289290      // Write default header
    290       fputs(GetPString(IDS_ARCHIVERBB2TEXT), fpNew);
     291      fputs(ARCHIVERBB2, fpNew);
    291292    }
    292293    pat = arcsighead;
     
    914915          PSZ ab2;
    915916
    916           ab2 = searchpath(GetPString(IDS_ARCHIVERBB2));        // Rewrite without alerting
     917          ab2 = searchpath(ARCHIVERBB2);        // Rewrite without alerting
    917918          rewrite_archiverbb2(ab2);
    918919        }
Note: See TracChangeset for help on using the changeset viewer.