Changeset 1915 for trunk/dll/collect.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/collect.c

    r1878 r1915  
    10011001              memmove(pp, p, strlen(p) + 1);
    10021002          }
    1003           if (insert_filename(hwnd, filename, FALSE, FALSE))
     1003          if (insert_filename(hwnd, filename, 0, FALSE))
    10041004            SelectList(dcd->hwndCnr, TRUE, FALSE, FALSE, NULL, filename,
    10051005                       NULL);
     
    18181818              memmove(pp, p, strlen(p) + 1);
    18191819          }
    1820           if (insert_filename(hwnd, filename, FALSE, FALSE)) {
     1820          if (insert_filename(hwnd, filename, 0, FALSE)) {
    18211821#           ifdef FORTIFY
    18221822            Fortify_EnterScope();
Note: See TracChangeset for help on using the changeset viewer.