mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-22 06:28:44 +02:00
Merge branch '0.5.x' into 0.6.0.x
Conflicts: src/main.h src/net.cpp src/util.cpp
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ Value help(const Array& params, bool fHelp)
|
||||
// Help text is returned in an exception
|
||||
string strHelp = string(e.what());
|
||||
if (strCommand == "")
|
||||
if (strHelp.find('\n') != -1)
|
||||
if (strHelp.find('\n') != string::npos)
|
||||
strHelp = strHelp.substr(0, strHelp.find('\n'));
|
||||
strRet += strHelp + "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user