Author: hpoussin
Date: Sun Jul 3 10:58:26 2011
New Revision: 52515
URL:
http://svn.reactos.org/svn/reactos?rev=52515&view=rev
Log:
[LDR] Fix some mis-assignations
Brought to you by WinOCM
See issue #6353 for more details.
Modified:
trunk/reactos/dll/ntdll/ldr/ldrutils.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrutils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrutils.c?r…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrutils.c [iso-8859-1] Sun Jul 3 10:58:26 2011
@@ -118,7 +118,7 @@
Entry->LoadCount--;
break;
case LDRP_UPDATE_PIN:
- Entry->LoadCount == -1;
+ Entry->LoadCount = -1;
break;
}
@@ -162,7 +162,7 @@
Entry->LoadCount--;
break;
case LDRP_UPDATE_PIN:
- Entry->LoadCount == -1;
+ Entry->LoadCount = -1;
break;
}
@@ -231,7 +231,7 @@
Entry->LoadCount--;
break;
case LDRP_UPDATE_PIN:
- Entry->LoadCount == -1;
+ Entry->LoadCount = -1;
break;
}