minor: added spaces between firstname, restofname and details (they got lost somehow when I wrote the check if firstname and first part of restofname is equal)

develop
Robert Heinrich 2012-03-20 11:55:11 +01:00
parent c9701b536a
commit 9277dfebb9
1 changed files with 2 additions and 2 deletions

@ -183,8 +183,8 @@ command_result vampcheck (color_ostream &out, vector <string> & parameters)
// if creature has no nickname, restofname will already contain firstname // if creature has no nickname, restofname will already contain firstname
// no need for double output // no need for double output
if(restofname.compare(0, firstname.length(),firstname) != 0) if(restofname.compare(0, firstname.length(),firstname) != 0)
out.print("%s", firstname.c_str()); out.print("%s ", firstname.c_str());
out.print("%s", restofname.c_str()); out.print("%s ", restofname.c_str());
} }
else else
{ {