changed wrong line in previous commit,

thanks to jjkola

svn path=/trunk/; revision=25709
This commit is contained in:
Sylvain Petreolle
2007-02-04 14:50:47 +00:00
parent e1ed22b77f
commit 6a92e6db5f
+2 -2
View File
@@ -47,10 +47,10 @@ StartRecDlgProc(HWND hwndDlg,
{
/* 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"));