mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
changed wrong line in previous commit,
thanks to jjkola svn path=/trunk/; revision=25709
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user