• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)


Commit MetaInfo

Revisiona747428715984680f73d702d57e36e1458176280 (tree)
Zeit2022-09-08 04:39:01
AutorAdam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed: V_RemoveTrailingCrap didn't always remove trailing incomplete color code of type "\c[X" properly.

Ändern Zusammenfassung

Diff

diff -r 556024eb3b0f -r a74742871598 src/v_text.cpp
--- a/src/v_text.cpp Wed Sep 07 09:12:39 2022 -0400
+++ b/src/v_text.cpp Wed Sep 07 15:39:01 2022 -0400
@@ -801,7 +801,7 @@
801801 if ( pChar > strrchr(pszString, ']') )
802802 {
803803 const int index = pChar - pszString;
804- if ( ( index > 2 ) && V_ColorCodeStart ( pszString, index-2 ) )
804+ if ( ( index >= 2 ) && V_ColorCodeStart ( pszString, index-2 ) )
805805 {
806806 pszString[index-2] = 0;
807807 ulStringLength = static_cast<ULONG>(strlen( pszString ));