Changeset 966


Ignore:
Timestamp:
Feb 19, 2008, 9:37:44 PM (18 years ago)
Author:
John Small
Message:

Additional changes were made so that the "State at last FM/2 close"
is added to the States combo box only if the SaveState setting is active.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/walkem.c

    r965 r966  
    9090                 MPFROMP(pld->path));
    9191    }
    92     WinSendMsg(hwndStatelist,
    93                LM_INSERTITEM,
    94                MPFROM2SHORT(LIT_SORTASCENDING, 0),
    95                MPFROMP(GetPString(IDS_SHUTDOWNSTATE)));
     92    if (fSaveState) {
     93      WinSendMsg(hwndStatelist,
     94                 LM_INSERTITEM,
     95                 MPFROM2SHORT(LIT_SORTASCENDING, 0),
     96                 MPFROMP(GetPString(IDS_SHUTDOWNSTATE)));
     97    }
    9698    WinSetWindowText(hwndStatelist, GetPString(IDS_STATETEXT));
    9799  }
Note: See TracChangeset for help on using the changeset viewer.