Ignore:
Timestamp:
Sep 23, 2004, 1:24:41 PM (21 years ago)
Author:
cinc
Message:

Fix for PathSetDlgItemPathW() by D. Teickner so import of reg files with W98-regedit works (taking sizeof(WCHAR) into account).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shlwapi/path.c

    r10053 r10621  
    32893289
    32903290  if (lpszPath)
    3291     strncpyW(path, lpszPath, sizeof(path));
     3291    strncpyW(path, lpszPath, sizeof(path)/sizeof(WCHAR));
    32923292  else
    32933293    path[0] = '\0';
Note: See TracChangeset for help on using the changeset viewer.