Changeset 1400 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Mar 8, 2009, 6:50:25 PM (17 years ago)
Author:
Gregg Young
Message:

Remainder of changes to rename commafmt.h/c (Ticket 28, 82); Additional strings moved to PCSZs in init.c (Ticket 6); Added WriteDetailsSwitches used it and LoadDetailsSwitches to consolidate inline code (Ticket 343, 344)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1398 r1400  
    5858  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
    5959  07 Feb 09 GKY Add *DateFormat functions to format dates based on locale
     60  08 Mar 09 GKY Renamed commafmt.h i18nutil.h
     61  08 Mar 09 GKY Additional strings move to PCSZs in init.c
    6062
    6163***********************************************************************/
     
    130132#include "newview.h"                    // StartViewer
    131133#include "undel.h"                      // UndeleteDlgProc
    132 #include "commafmt.h"                   // commafmt
     134#include "i18nutil.h"                   // commafmt
    133135#include "getnames.h"                   // insert_filename
    134136#include "wrappers.h"                   // xfree
     
    13781380
    13791381   case WM_PRESPARAMCHANGED:
    1380      PresParamChanged(hwnd, "DirCnr", mp1, mp2);
     1382     PresParamChanged(hwnd, PCSZ_DIRCNR, mp1, mp2);
    13811383     break;
    13821384
     
    18231825      if (dcd) {
    18241826        if (!PostMsg(dcd->hwndObject, UM_COMMAND, mp1, mp2)) {
    1825           Runtime_Error(pszSrcFile, __LINE__, "PostMsg");
     1827          Runtime_Error(pszSrcFile, __LINE__, PCSZ_POSTMSG);
    18261828          FreeListInfo((LISTINFO *) mp1);
    18271829        }
     
    27412743                *li->targetpath = 0;
    27422744              if (!PostMsg(dcd->hwndObject, action, MPFROMP(li), MPVOID)) {
    2743                 Runtime_Error(pszSrcFile, __LINE__, "PostMsg");
     2745                Runtime_Error(pszSrcFile, __LINE__, PCSZ_POSTMSG);
    27442746                FreeListInfo(li);
    27452747              }
     
    36973699          Fortify_ChangeScope(dcd, -1);
    36983700#         endif
    3699           RestorePresParams(dcd->hwndCnr, "DirCnr");
     3701          RestorePresParams(dcd->hwndCnr, PCSZ_DIRCNR);
    37003702          WinSetWindowPtr(dcd->hwndCnr, QWL_USER, (PVOID) dcd);
    37013703          dcd->oldproc = WinSubclassWindow(dcd->hwndCnr,
Note: See TracChangeset for help on using the changeset viewer.