http://git.etersoft.ru/people/dimbor/packages
/
opennx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f98c6f
)
Djelf - 05_Async; fix AsyncProcess
author
dimbor
<i@dimbor.ru>
Fri, 13 Feb 2015 23:39:37 +0000
(
02:39
+0300)
committer
dimbor
<i@dimbor.ru>
Fri, 13 Feb 2015 23:39:37 +0000
(
02:39
+0300)
AsyncProcess.cpp
patch
|
blob
|
blame
|
history
diff --git
a/AsyncProcess.cpp
b/AsyncProcess.cpp
index 971969a8258e8ca455b03ec1eaee5ae13be6557a..61c2d53cf060d7ec200301da3b9a240f7da0de8a 100644
(file)
--- a/
AsyncProcess.cpp
+++ b/
AsyncProcess.cpp
@@
-211,7
+211,7
@@
AsyncProcess::Print(const wxString &s, bool doLog)
::myLogTrace(MYTRACETAG, wxT("Sending: '%s'"), s.c_str());
else
::myLogTrace(MYTRACETAG, wxT("Sending (hidden): '************'"));
- wxString sbuf = s +
wxT("\n")
;
+ wxString sbuf = s +
(s.IsEmpty() ? wxT("NullCommand\n") : wxT("\n"))
;
const wxWX2MBbuf buf = wxConvCurrent->cWX2MB(sbuf);
os->Write(buf, strlen(buf));
return true;