From: g0dil Date: Thu, 4 Jun 2009 14:44:21 +0000 (+0000) Subject: Utils/Console: shorthelp fix X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=80ad31fa950d58e0bd86629272cb5d78a000938c;p=senf.git Utils/Console: shorthelp fix git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1223 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Utils/Console/OverloadedCommand.cc b/Utils/Console/OverloadedCommand.cc index cb405a7..c9e7529 100644 --- a/Utils/Console/OverloadedCommand.cc +++ b/Utils/Console/OverloadedCommand.cc @@ -167,7 +167,7 @@ prefix_ std::string senf::console::OverloadedCommandNode::v_shorthelp() for (; i != i_end; ++i) { std::string overloadDoc ((*i)->doc()); if (! overloadDoc.empty()) - return overloadDoc.substr(0,doc_.find('\n')); + return overloadDoc.substr(0,overloadDoc.find('\n')); } return ""; }