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:
440b2cd
)
Fix broken message after replaced text
author
sdottaka
<none@none>
Mon, 12 Dec 2011 12:20:45 +0000
(21:20 +0900)
committer
sdottaka
<none@none>
Mon, 12 Dec 2011 12:20:45 +0000
(21:20 +0900)
Src/editlib/ceditreplacedlg.cpp
patch
|
blob
|
history
diff --git
a/Src/editlib/ceditreplacedlg.cpp
b/Src/editlib/ceditreplacedlg.cpp
index
de718df
..
88b5afd
100644
(file)
--- a/
Src/editlib/ceditreplacedlg.cpp
+++ b/
Src/editlib/ceditreplacedlg.cpp
@@
-497,8
+497,8
@@
OnEditReplaceAll ()
// Let user know how many strings were replaced
CString strMessage;
CString strNumber;
- LPCTSTR lpsz = static_cast<LPCTSTR>(strNumber);
strNumber.Format ( _T("%d"), nNumReplaced );
+ LPCTSTR lpsz = static_cast<LPCTSTR>(strNumber);
AfxFormatStrings (strMessage, LoadResString(IDS_NUM_REPLACED).c_str(), &lpsz, 1);
AfxMessageBox( strMessage, MB_ICONINFORMATION|MB_DONT_DISPLAY_AGAIN, IDS_NUM_REPLACED);