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:
66bffba
)
Add memory allocation debugging define.
author
Kimmo Varis
<kimmov@gmail.com>
Wed, 6 Aug 2008 21:58:41 +0000
(21:58 +0000)
committer
Kimmo Varis
<kimmov@gmail.com>
Wed, 6 Aug 2008 21:58:41 +0000
(21:58 +0000)
Src/DiffTextBuffer.cpp
patch
|
blob
|
history
diff --git
a/Src/DiffTextBuffer.cpp
b/Src/DiffTextBuffer.cpp
index
a37f445
..
61c3fc5
100644
(file)
--- a/
Src/DiffTextBuffer.cpp
+++ b/
Src/DiffTextBuffer.cpp
@@
-22,6
+22,12
@@
#include "FileTextEncoding.h"
#include "DiffTextBuffer.h"
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#undef THIS_FILE
+static char THIS_FILE[] = __FILE__;
+#endif
+
static bool IsTextFileStylePure(const UniMemFile::txtstats & stats);
static CString GetLineByteTimeReport(UINT lines, __int64 bytes,
const COleDateTime & start);