Author: pschweitzer
Date: Sun Nov 20 16:39:31 2011
New Revision: 54458
URL:
http://svn.reactos.org/svn/reactos?rev=54458&view=rev
Log:
[NTOSKNRL]
Properly check for string
Modified:
trunk/reactos/ntoskrnl/config/i386/cmhardwr.c
Modified: trunk/reactos/ntoskrnl/config/i386/cmhardwr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/i386/cmhar…
==============================================================================
--- trunk/reactos/ntoskrnl/config/i386/cmhardwr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/i386/cmhardwr.c [iso-8859-1] Sun Nov 20 16:39:31 2011
@@ -478,7 +478,7 @@
}
/* Check if we had a Vendor ID */
- if (Prcb->VendorString)
+ if (Prcb->VendorString[0])
{
/* Convert it to Unicode */
RtlInitAnsiString(&TempString, Prcb->VendorString);