Andrey Gusev : msxml3/tests: Fix a typo in variable name.

Alexandre Julliard julliard at winehq.org
Wed May 25 10:41:08 CDT 2016


Module: wine
Branch: master
Commit: 73152bd347a4047f02d1bb200ceedd69f99afc13
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=73152bd347a4047f02d1bb200ceedd69f99afc13

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Sun May 22 20:18:40 2016 +0300

msxml3/tests: Fix a typo in variable name.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msxml3/tests/domdoc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index de28a70..f6e33d3 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -6704,9 +6704,9 @@ static void test_TransformWithLoadingLocalFile(void)
         BSTR sPart1 = _bstr_(szBasicTransformSSXMLPart1);
         BSTR sPart2 = _bstr_(szBasicTransformSSXMLPart2);
         BSTR sFileName = _bstr_(lpPathBuffer);
-        int nLegnth = lstrlenW(sPart1) + lstrlenW(sPart2) + lstrlenW(sFileName) + 1;
+        int nLength = lstrlenW(sPart1) + lstrlenW(sPart2) + lstrlenW(sFileName) + 1;
 
-        sXSL = SysAllocStringLen(NULL, nLegnth);
+        sXSL = SysAllocStringLen(NULL, nLength);
         lstrcpyW(sXSL, sPart1);
         lstrcatW(sXSL, sFileName);
         lstrcatW(sXSL, sPart2);




More information about the wine-cvs mailing list