• R/O
  • SSH

zandronum-sandbox-stable: Commit


Commit MetaInfo

Revision7a99ba8fd93a2300c197eec27d536dc963adf1d0 (tree)
Time2021-03-23 07:05:27
AuthorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed a GCC compile error.

Change Summary

Incremental Difference

diff -r 0654f1437d01 -r 7a99ba8fd93a src/chat.cpp
--- a/src/chat.cpp Sun Mar 21 22:28:45 2021 +0100
+++ b/src/chat.cpp Mon Mar 22 18:05:27 2021 -0400
@@ -165,7 +165,7 @@
165165 {
166166 Printf( "cl_chatprefix cannot be greater than 16 characters in length!\n" );
167167
168- FString truncatedPrefix = self;
168+ FString truncatedPrefix = self.GetGenericRep( CVAR_String ).String;
169169 self = truncatedPrefix.Left( 16 );
170170 }
171171 }
@@ -178,7 +178,7 @@
178178 {
179179 Printf( "cl_chatsuffix cannot be greater than 16 characters in length!\n" );
180180
181- FString truncatedSuffix = self;
181+ FString truncatedSuffix = self.GetGenericRep( CVAR_String ).String;
182182 self = truncatedSuffix.Left( 16 );
183183 }
184184 }
Show on old repository browser