<html>
<head>
<style>
<!--
body { background-color:#ffffff }
.file { border:1px solid #eeeeee; margin-top:1em; margin-bottom:1em }
.pathname { font-family:monospace; float:right }
.fileheader { margin-bottom:.5em }
.diff { margin:0 }
.tasklist { padding:4px; border:1px dashed #000000; margin-top:1em }
.tasklist ul { margin-top:0; margin-bottom:0 }
tr.alt { background-color:#eeeeee }
#added { background-color:#ddffdd }
#addedchars { background-color:#99ff99; font-weight:bolder }
tr.alt #added { background-color:#ccf7cc }
#removed { background-color:#ffdddd }
#removedchars { background-color:#ff9999; font-weight:bolder }
tr.alt #removed { background-color:#f7cccc }
#info { color:#888888 }
#context { background-color:#eeeeee }
td {padding-left:.3em; padding-right:.3em }
tr.head { border-bottom-width:1px; border-bottom-style:solid }
tr.head td { padding:0; padding-top:.2em }
.task { background-color:#ffff00 }
.comment { padding:4px; border:1px dashed #000000; background-color:#ffffdd }
.error { color:red }
hr { border-width:0px; height:2px; background:black }
-->
</style>
</head>
<body>
<pre class="comment">- Don't hardcode PEB address</pre><pre class="diff" id="context">Modified: trunk/reactos/lib/ntdll/ldr/startup.c
</pre><hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/lib/ntdll/ldr/startup.c</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/lib/ntdll/ldr/startup.c        2005-11-22 03:32:15 UTC (rev 19447)
+++ trunk/reactos/lib/ntdll/ldr/startup.c        2005-11-22 03:37:39 UTC (rev 19448)
@@ -259,7 +259,7 @@
</small></pre><pre class="diff" id="context"> &nbsp; &nbsp;DPRINT(&quot;LdrpInit()\n&quot;);
 &nbsp; &nbsp;if (NtCurrentPeb()-&gt;Ldr == NULL || NtCurrentPeb()-&gt;Ldr-&gt;Initialized == FALSE)
 &nbsp; &nbsp; &nbsp;{
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; Peb = <span id="removedchars">(PPEB)(PEB_BASE</span>);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; Peb = <span id="addedchars">NtCurrentPeb(</span>);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;Peb %x\n&quot;, Peb);
 &nbsp; &nbsp; &nbsp; &nbsp;ImageBase = Peb-&gt;ImageBaseAddress;
 &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;ImageBase %x\n&quot;, ImageBase);
</pre>
</div>

</body>
</html>