Changeset 1391 for trunk/dll/avl.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/avl.c

    r1346 r1391  
    3636                Select archive dialog if no default is provided.
    3737  29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate.
     38  11 Jan 08 GKY Replace "ARCHIVER.BB2" in string file with global set at compile in init.c
    3839
    3940***********************************************************************/
     
    368369  //DosEnterCritSec(); //GKY 11-29-08
    369370  DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT);
    370   psz = searchpath(GetPString(IDS_ARCHIVERBB2));
     371  psz = searchpath(ARCHIVERBB2);
    371372  if (!psz || !*psz) {
    372373    DosReleaseMutexSem(hmtxFM2Globals);
     
    860861                   GetPString(IDS_ADCHANGESINMEMTEXT),
    861862                   GetPString(IDS_ADREWRITETEXT), NullStr) == MBID_YES) {
    862           PSZ ab2 = searchpath(GetPString(IDS_ARCHIVERBB2));    // Rewrite without prompting
     863          PSZ ab2 = searchpath(ARCHIVERBB2);    // Rewrite without prompting
    863864
    864865          rewrite_archiverbb2(ab2);
Note: See TracChangeset for help on using the changeset viewer.