X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f177c8e7309c8cf3ece1563870d135cc8f0e6a1..5ea6dbbfff67d1dfad08044ab721ba56425ef6e1:/src/msw/dir.cpp?ds=sidebyside diff --git a/src/msw/dir.cpp b/src/msw/dir.cpp index 2ed4f0e02e..2304b540e5 100644 --- a/src/msw/dir.cpp +++ b/src/msw/dir.cpp @@ -149,7 +149,7 @@ static inline FIND_DATA FindFirst(const wxString& spec, FIND_STRUCT *finddata) { - return ::FindFirstFile(filespec, &finddata); + return ::FindFirstFile(spec, finddata); } static inline bool FindNext(FIND_DATA fd, FIND_STRUCT *finddata)