Menu

Commit [r460]  Maximize  Restore  History

Replace Tabulators (\t) with spaces, because the listview cannot display them correctly

toschaef 2009-09-12

changed /trunk/src/MainDlg.cpp
/trunk/src/MainDlg.cpp Diff Switch to side-by-side view
--- a/trunk/src/MainDlg.cpp
+++ b/trunk/src/MainDlg.cpp
@@ -1709,6 +1709,7 @@
 			wstring msg = it->second.message;
 			std::remove(msg.begin(), msg.end(), '\r');
 			std::replace(msg.begin(), msg.end(), '\n', ' ');
+			std::replace(msg.begin(), msg.end(), '\t', ' ');
 			_tcsncpy_s(buf, 1024, msg.c_str(), 1023);
 			ListView_SetItemText(m_hListControl, 0, 3, buf);
 
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.