Add missing '%' character to zsh-style chat prompt.

This commit is contained in:
Mari the Deer 2023-05-17 10:48:30 +02:00
commit 7664ac5f9d
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r784 \cu(Thu 20 Apr 12:54:09 CEST 2023)\c-";
SWWM_SHORTVER="\cw1.3pre r784 \cu(2023-04-20 12:54:09)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r785 \cu(Wed 17 May 10:52:33 CEST 2023)\c-";
SWWM_SHORTVER="\cw1.3pre r785 \cu(2023-05-17 10:52:33)\c-";

View file

@ -434,7 +434,7 @@ Class SWWMStatusBar : BaseStatusBar
String pname = players[consoleplayer].GetUserName();
// strip colors
SWWMUtility.StripColor(pname);
String fullstr = String.Format("\cq%s\cd@\cqdemolitionist%d\cn ~ \c-wall %s_",pname,consoleplayer+1,txt);
String fullstr = String.Format("\cq%s\cd@\cqdemolitionist%d\cn ~ \cd% \c-wall %s_",pname,consoleplayer+1,txt);
// cut out to fit
int w = mSmallFont.StringWidth(fullstr);
if ( w > ss.x-4 )