shell32: fix a comment
Austin English
austinenglish at gmail.com
Sun Mar 23 19:09:36 CDT 2014
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140323/e197c5e6/attachment.html>
-------------- next part --------------
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index afa2543..2dfed75 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -2265,8 +2265,8 @@ HRESULT WINAPI SHGetFolderPathAndSubDirW(
if (FAILED(hr)) goto end;
if(pszSubPath) {
- /* make sure the new path does not exceed th bufferlength
- * rememebr to backslash and the termination */
+ /* make sure the new path does not exceed the buffer length
+ * and remember to backslash and terminate it */
if(MAX_PATH < (lstrlenW(szBuildPath) + lstrlenW(pszSubPath) + 2)) {
hr = HRESULT_FROM_WIN32(ERROR_FILENAME_EXCED_RANGE);
goto end;
More information about the wine-patches
mailing list