[ros-diffs] [fireball] 50982: - Fix a typo, thanks Herve!

fireball at svn.reactos.org fireball at svn.reactos.org
Sun Mar 6 11:16:23 UTC 2011


Author: fireball
Date: Sun Mar  6 11:16:22 2011
New Revision: 50982

URL: http://svn.reactos.org/svn/reactos?rev=50982&view=rev
Log:
- Fix a typo, thanks Herve!

Modified:
    trunk/reactos/ntoskrnl/fsrtl/name.c

Modified: trunk/reactos/ntoskrnl/fsrtl/name.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/name.c?rev=50982&r1=50981&r2=50982&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] Sun Mar  6 11:16:22 2011
@@ -38,7 +38,7 @@
     }
 
     /* Check for a shortcut: just one wildcard */
-    if (Expression->Length == 2)
+    if (Expression->Length == sizeof(WCHAR))
     {
         if (Expression->Buffer[0] == L'*')
             return TRUE;




More information about the Ros-diffs mailing list