Skip to content

Commit

Permalink
Merge pull request #36592 from CleverRaven/fix-color-debugmsg
Browse files Browse the repository at this point in the history
Fix token from %d to %s in color-related debug message
  • Loading branch information
ZhilkinSerg authored Dec 31, 2019
2 parents 27499e0 + 472ed39 commit f9d5d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ nc_color color_from_string( const std::string &color )
while( ( pos = new_color.find( i.second, pos ) ) != std::string::npos ) {
new_color.replace( pos, i.second.length(), i.first );
pos += i.first.length();
debugmsg( "Deprecated foreground color suffix was used: (%d) in (%s). Please update mod that uses that.",
debugmsg( "Deprecated foreground color suffix was used: (%s) in (%s). Please update mod that uses that.",
i.second, color );
}
}
Expand Down

0 comments on commit f9d5d1d

Please sign in to comment.