projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb10cf5
)
avoid crash
author
Sylvain Petreolle
<spetreolle@yahoo.fr>
Sat, 3 Feb 2007 13:50:47 +0000
(13:50 +0000)
committer
Sylvain Petreolle
<spetreolle@yahoo.fr>
Sat, 3 Feb 2007 13:50:47 +0000
(13:50 +0000)
svn path=/trunk/; revision=25700
reactos/dll/cpl/sysdm/startrec.c
patch
|
blob
|
history
diff --git
a/reactos/dll/cpl/sysdm/startrec.c
b/reactos/dll/cpl/sysdm/startrec.c
index
e1b3151
..
55ffacd
100644
(file)
--- a/
reactos/dll/cpl/sysdm/startrec.c
+++ b/
reactos/dll/cpl/sysdm/startrec.c
@@
-47,7
+47,7
@@
StartRecDlgProc(HWND hwndDlg,
{
/* get Path to freeldr.ini or boot.ini */
szSystemDrive = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, MAX_PATH);
- if (szSystemDrive != NULL)
+ if (szSystemDrive != NULL
&& szSystemDrive != NULL
)
{
szSystemDrive = _tgetenv(_T("SystemDrive"));
if (m_szFreeldrIni != NULL)