[NTOSKRNL]
[reactos.git] / reactos / ntoskrnl / fsrtl / name.c
index f36b227..5b3b4f9 100644 (file)
@@ -156,7 +156,7 @@ FsRtlIsNameInExpressionPrivate(IN PUNICODE_STRING Expression,
             {
                 if (Name->Buffer[MatchingChars] == L'.')
                 {
-                    NamePosition = MatchingChars;
+                    NamePosition = MatchingChars + 1;
                 }
                 MatchingChars++;
             }