Changeset 1402 for trunk/dll/viewer.c


Ignore:
Timestamp:
Mar 14, 2009, 6:17:59 PM (16 years ago)
Author:
Gregg Young
Message:

Remove variable aurgs from docopy & unlinkf (not used); Move more strings to PCSZs and string table; Move PCSZs to compile time initialization; Fix hang on startup caused by a drive scan and a dircnr scan trying to update a drive in the tree at the same time (related to the "treeswitch options); Code cleanup mainly removal of old printfs, SayMsgs, DbgMsg and unneeded %s.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/viewer.c

    r1395 r1402  
    1919  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
    2020  07 Feb 09 GKY Eliminate Win_Error2 by moving function names to PCSZs used in Win_Error
     21  08 Mar 09 GKY Additional strings move to String Table
    2122
    2223***********************************************************************/
     
    795796            if (vw->fileattrreadonly) {
    796797              temp = saymsg(MB_OKCANCEL | MB_ICONEXCLAMATION,
    797                             hwnd, NullStr, "File is readonly and has not been saved");
     798                            hwnd, NullStr, GetPString(IDS_EDITREADONLYFILETEXT3));
    798799              if (temp == MBID_CANCEL)
    799800                return 0;
     
    917918          }
    918919        }
    919         //printf("%s %s %d\n ",vw->exportfilename, __FILE__, __LINE__); fflush(stdout);
    920920        if (!MLEexportfile(hwndMLE,
    921921                           vw->exportfilename,
     
    12481248          if (vw->fileattrreadonly) {
    12491249            temp = saymsg(MB_OKCANCEL | MB_ICONEXCLAMATION,
    1250                           hwnd, NullStr, "File is readonly and has not been saved");
     1250                          hwnd, NullStr, GetPString(IDS_EDITREADONLYFILETEXT3));
    12511251            if (temp == MBID_CANCEL)
    12521252                return 0;
Note: See TracChangeset for help on using the changeset viewer.