[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 21 Apr 2013 20:14:36 +0000 (20:14 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 21 Apr 2013 20:14:36 +0000 (20:14 +0000)
Temp hackfix DOS_STAR to get rosautotest working again

svn path=/trunk/; revision=58817

reactos/ntoskrnl/fsrtl/dbcsname.c
reactos/ntoskrnl/fsrtl/name.c

index 736c82b..cd2e912 100644 (file)
@@ -223,7 +223,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
             {
                 if (Name->Buffer[MatchingChars] == '.')
                 {
-                    NamePosition = MatchingChars + 1;
+                    NamePosition = MatchingChars;
                 }
                 MatchingChars++;
             }
index 4dd965a..88fc898 100644 (file)
@@ -158,7 +158,7 @@ FsRtlIsNameInExpressionPrivate(IN PUNICODE_STRING Expression,
             {
                 if (Name->Buffer[MatchingChars] == L'.')
                 {
-                    NamePosition = MatchingChars + 1;
+                    NamePosition = MatchingChars;
                 }
                 MatchingChars++;
             }