Changeset 830 for trunk/dll/killproc.c


Ignore:
Timestamp:
Sep 3, 2007, 5:30:56 AM (18 years ago)
Author:
Gregg Young
Message:

minor cleanup of DosQuerySysState code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/killproc.c

    r829 r830  
    107107            if (!stricmp(pmi->szModName, "SYSINIT"))
    108108              GetDosPgmName(ppi->pid, s + strlen(s));
    109             else {
     109            else {
    110110              if (*pmi->szModName)
    111                 strcat(s, pmi->szModName);
     111                strcat(s, pmi->szModName);
    112112              else
    113113                strcat(s, GetPString(IDS_UNKNOWNPROCTEXT));
     
    170170            if (!stricmp((CHAR *) pmi->pName, "SYSINIT"))
    171171              GetDosPgmName(ppi->pid, s + strlen(s));
    172             else {
     172            else {
    173173              if (*pmi->pName)
    174                 strcat(s, (CHAR *) pmi->pName);
     174                strcat(s, (CHAR *) pmi->pName);
    175175              else
    176176                strcat(s, GetPString(IDS_UNKNOWNPROCTEXT));
     
    506506
    507507#pragma alloc_text(KILLPROC,FillKillListThread,FillKillListThread2,GetDosPgmName,KillDlgProc)
    508 #pragma alloc_text(KILLPROC,FillKillListThread)
     508#pragma alloc_text(KILLPROC,FillKillListThread3)
Note: See TracChangeset for help on using the changeset viewer.