Changeset 1915 for trunk/dll/shadow.c


Ignore:
Timestamp:
Nov 1, 2025, 7:27:49 PM (44 hours ago)
Author:
Gregg Young
Message:

Improve readability of insert_filename (use 0,1,2 instead of FALSE, TRUE,2 for loadit). Fix it so pszIDrive is only set from lastfilename if filename is NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/shadow.c

    r1811 r1915  
    113113  if (!PrfQueryProfileString(fmprof, appname, "JavaExe", NULL, javaexe, CCHMAXPATH - 1)) {
    114114    strcpy(javaexe, PCSZ_STARDOTEXE);
    115     if (insert_filename(HWND_DESKTOP, javaexe, TRUE, FALSE) &&
     115    if (insert_filename(HWND_DESKTOP, javaexe, 1, FALSE) &&
    116116        *javaexe && !strchr(javaexe, '*') && !strchr(javaexe, '?'))
    117117      PrfWriteProfileString(fmprof, appname, "JavaExe", javaexe);
     
    125125  strcpy(icon, path);
    126126  strcat(icon, "\\*.ico");
    127   insert_filename(HWND_DESKTOP, icon, TRUE, FALSE);
     127  insert_filename(HWND_DESKTOP, icon, 1, FALSE);
    128128  obj = WinCreateObject((CHAR *) WPProgram,
    129129                        objecttmp,
Note: See TracChangeset for help on using the changeset viewer.