Changeset 552 for trunk/dll/systemf.c


Ignore:
Timestamp:
Mar 1, 2007, 7:24:47 AM (18 years ago)
Author:
Gregg Young
Message:

font cleanup; new image and archiver masks; messages moved to string file; new drive flags including David's icons mostly working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r540 r552  
    1717  01 Nov 06 SHL runemf2: temp fix for hung windows caused by termq errors
    1818  03 Nov 06 SHL runemf2: rework termination queue logic to work for multiple threads
     19  07 Jan 07 GKY Move error strings etc. to string file
    1920
    2021***********************************************************************/
     
    782783          switch_to(szSavedir);
    783784        if (rc) {
    784           // fixme to be in fm2dll.str
    785           Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,"DosQAppType failed for %s.", pszPgm);
     785          Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,
     786                    GetPString(IDS_DOSQAPPTYPEFAILEDTEXT),
     787                    pszPgm);
    786788          DosFreeMem(pszPgm);
    787789          if (pszArgs)
     
    793795              (apptype & FAPPTYP_PHYSDRV) || (apptype & FAPPTYP_PROTDLL))
    794796          {
    795             // fixme to be in fm2dll.str
    796             Runtime_Error(pszSrcFile, __LINE__, "apptype 0x%x unexpected for %s.", apptype, pszPgm);
     797            Runtime_Error(pszSrcFile, __LINE__,
     798                          GetPString(IDS_APPTYPEUNEXPECTEDTEXT),
     799                          apptype, pszPgm);
    797800            if (pszPgm)
    798801              DosFreeMem(pszPgm);
     
    804807              (apptype & FAPPTYP_WINDOWSPROT) || (apptype & 0x1000))
    805808          {
    806             Runtime_Error(pszSrcFile, __LINE__, "apptype 0x%x unexpected for %s.", apptype, pszPgm);
     809            Runtime_Error(pszSrcFile, __LINE__,
     810                          GetPString(IDS_APPTYPEUNEXPECTEDTEXT),
     811                          apptype, pszPgm);
    807812            if (pszPgm)
    808813              DosFreeMem(pszPgm);
     
    914919        switch_to(szSavedir);
    915920      if (rc) {
    916         // fixme to be in fm2dll.str
    917         Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,"DosQAppType failed for %s.", pszPgm);
     921        Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,
     922                  GetPString(IDS_DOSQAPPTYPEFAILEDTEXT),
     923                  pszPgm);
    918924        DosFreeMem(pszPgm);
    919925        if (pszArgs)
     
    925931        if (apptype & (FAPPTYP_DLL | FAPPTYP_VIRTDRV | FAPPTYP_PHYSDRV | FAPPTYP_PROTDLL))
    926932        {
    927           // fixme to be in fm2dll.str
    928           Runtime_Error(pszSrcFile, __LINE__, "apptype %d unexpected for %s.", pszPgm);
     933          Runtime_Error(pszSrcFile, __LINE__,
     934                        GetPString(IDS_APPTYPEUNEXPECTEDTEXT),
     935                        pszPgm);
    929936          DosFreeMem(pszPgm);
    930937          if (pszArgs)
Note: See TracChangeset for help on using the changeset viewer.