Author: spetreolle
Date: Sun Feb 4 17:50:47 2007
New Revision: 25709
URL:
http://svn.reactos.org/svn/reactos?rev=25709&view=rev
Log:
changed wrong line in previous commit,
thanks to jjkola
Modified:
trunk/reactos/dll/cpl/sysdm/startrec.c
Modified: trunk/reactos/dll/cpl/sysdm/startrec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/startrec.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/startrec.c (original)
+++ trunk/reactos/dll/cpl/sysdm/startrec.c Sun Feb 4 17:50:47 2007
@@ -47,10 +47,10 @@
{
/* get Path to freeldr.ini or boot.ini */
szSystemDrive = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, MAX_PATH);
- if (szSystemDrive != NULL && szSystemDrive != NULL)
+ if (szSystemDrive != NULL)
{
szSystemDrive = _tgetenv(_T("SystemDrive"));
- if (m_szFreeldrIni != NULL)
+ if (m_szFreeldrIni != NULL && szSystemDrive != NULL)
{
_tcscpy(m_szFreeldrIni, szSystemDrive);
_tcscat(m_szFreeldrIni, _T("\\freeldr.ini"));