OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6172338
)
DirDoc.cpp: Fix crash when closing Options dialog
author
sdottaka
<sdottaka@users.sourceforge.net>
Fri, 13 Nov 2015 16:04:42 +0000
(
01:04
+0900)
committer
sdottaka
<sdottaka@users.sourceforge.net>
Fri, 13 Nov 2015 16:04:42 +0000
(
01:04
+0900)
Src/DirDoc.cpp
patch
|
blob
|
history
diff --git
a/Src/DirDoc.cpp
b/Src/DirDoc.cpp
index
ff0e53d
..
0e4d5ce
100644
(file)
--- a/
Src/DirDoc.cpp
+++ b/
Src/DirDoc.cpp
@@
-464,7
+464,8
@@
void CDirDoc::CompareReady()
*/
void CDirDoc::RefreshOptions()
{
- m_pCtxt->m_bRecursive = (theApp.GetProfileInt(_T("Settings"), _T("Recurse"), 0) == 1);
+ if (m_pCtxt)
+ m_pCtxt->m_bRecursive = (theApp.GetProfileInt(_T("Settings"), _T("Recurse"), 0) == 1);
if (m_pDirView)
m_pDirView->RefreshOptions();
}