diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-10-23 21:00:22 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-10-23 21:00:22 +0000 |
commit | dfa31f08f4d13aff3a6d4ad16d7fec549b6156db (patch) | |
tree | 559b1f58ba2e7eaf3075b51de881f78c72c786af /net/ntalk/files/patch-ntalk.cpp | |
parent | Update to 4230 (diff) |
* Update master site and home page.
* Honor CXX/CXXFLAGS.
* Fix C++ for GCC3.
Partly from discussion with and
PR: 44404
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=68682
Diffstat (limited to 'net/ntalk/files/patch-ntalk.cpp')
-rw-r--r-- | net/ntalk/files/patch-ntalk.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/ntalk/files/patch-ntalk.cpp b/net/ntalk/files/patch-ntalk.cpp new file mode 100644 index 000000000000..d9d3324687bd --- /dev/null +++ b/net/ntalk/files/patch-ntalk.cpp @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- ntalk.cpp.orig Wed Oct 23 17:27:37 2002 ++++ ntalk.cpp Wed Oct 23 17:31:54 2002 +@@ -44,6 +44,8 @@ + #define WHOIS "10" + #define SRVMESSAGE "11" + ++using namespace std; ++ + + struct color { + int you; +@@ -341,7 +343,7 @@ + a = count(msg.begin(), msg.end(), ';'); + for(x = 0; x < a; x++) + { +- msg.replace(msg.find(';'), 1, '\n'); ++ msg.replace(msg.find(';'), 1, "\n"); + } + + mvwprintw(user_w, 0, 0, "%s", msg.c_str()); |