Changeset - r28450:4716b733c2f9
[Not reviewed]
master
0 1 0
Loïc Guilloux - 4 months ago 2024-01-14 21:49:42
glx22@users.noreply.github.com
Fix: Don't replace stripped characters with '?' in console (#11777)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/console.cpp
Show inline comments
 
@@ -106,7 +106,7 @@ void IConsolePrint(TextColour colour_cod
 

	
 
	/* Create a copy of the string, strip it of colours and invalid
 
	 * characters and (when applicable) assign it to the console buffer */
 
	std::string str = StrMakeValid(string);
 
	std::string str = StrMakeValid(string, SVS_NONE);
 

	
 
	if (_network_dedicated) {
 
		NetworkAdminConsole("console", str);
0 comments (0 inline, 0 general)