From d0cca36f2a78cc80a28777f20e27a7170ec762e9 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 3 Jun 2011 19:52:20 -0500 Subject: [PATCH] more small comment stuff --- src/PlayerOptions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PlayerOptions.cpp b/src/PlayerOptions.cpp index e33c4108d8..363851cd6a 100644 --- a/src/PlayerOptions.cpp +++ b/src/PlayerOptions.cpp @@ -265,7 +265,7 @@ void PlayerOptions::FromString( const RString &sMultipleMods ) { if (!FromOneModString( *s, sThrowAway )) { - LOG->Trace( "Attempted to load a non-existing mod %s for the Player. Ignoring.", (*s).c_str() ); + LOG->Trace( "Attempted to load a non-existing mod \'%s\' for the Player. Ignoring.", (*s).c_str() ); } } } @@ -300,8 +300,8 @@ bool PlayerOptions::FromOneModString( const RString &sOneMod, RString &sErrorOut * they meant "*123". */ if( s->Right(1) == "*" ) { - /* XXX We know what they want, is there any reason not to handle it? */ - /* Yes. We should be strict in handling the format. -Chris */ + // XXX: We know what they want, is there any reason not to handle it? + // Yes. We should be strict in handling the format. -Chris sErrorOut = ssprintf("Invalid player options \"%s\"; did you mean '*%d'?", s->c_str(), StringToInt(*s) ); return false; }