Spell it right. :rolleyes:
authorBrandon Turner <turnerb7@msu.edu>
Sun, 11 Dec 2005 05:51:14 +0000 (05:51 +0000)
committerBrandon Turner <turnerb7@msu.edu>
Sun, 11 Dec 2005 05:51:14 +0000 (05:51 +0000)
svn path=/trunk/; revision=20052

reactos/lib/kernel32/misc/errormsg.c

index a1fba62..7a37548 100644 (file)
@@ -177,7 +177,7 @@ DWORD WINAPI FormatMessageA(
     if (dwFlags & FORMAT_MESSAGE_FROM_STRING)
     {
         from = HeapAlloc( GetProcessHeap(), 0, strlen((LPCSTR)lpSource)+1 );
-        if (form == NULL)
+        if (from == NULL)
         {
             return 0;
         }