Log with a loop, auto, and WHITE SPACE.
This commit is contained in:
+2
-2
@@ -373,8 +373,8 @@ static int g_AdditionalLogSize = 0;
|
||||
void RageLog::UpdateMappedLog()
|
||||
{
|
||||
RString str;
|
||||
FOREACHM_CONST( RString, RString, LogMaps, i )
|
||||
str += ssprintf( "%s" NEWLINE, i->second.c_str() );
|
||||
for (auto const &i : LogMaps)
|
||||
str += ssprintf( "%s" NEWLINE, i.second.c_str() );
|
||||
|
||||
g_AdditionalLogSize = min( sizeof(g_AdditionalLogStr), str.size()+1 );
|
||||
memcpy( g_AdditionalLogStr, str.c_str(), g_AdditionalLogSize );
|
||||
|
||||
Reference in New Issue
Block a user