From 1efa4bd452a77c73886e52f6c5dcfecfaa465461 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 26 Dec 2019 14:49:24 +0000 Subject: [PATCH] Use the proper TextWidth syntax --- qcsrc/menu/xonotic/campaign.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/campaign.qc b/qcsrc/menu/xonotic/campaign.qc index ff7110464..66bf3de68 100644 --- a/qcsrc/menu/xonotic/campaign.qc +++ b/qcsrc/menu/xonotic/campaign.qc @@ -30,7 +30,7 @@ void rewrapCampaign(float w, float l0, float emptyheight, vector theFontSize) getWrappedLine_remaining = s; while(getWrappedLine_remaining) { - s = getWrappedLine(w, theFontSize, stringwidth_colors); + s = getWrappedLine(w, theFontSize, draw_TextWidth_WithColors); if(--l < 0) goto toolong; r = strcat(r, s, "\n"); } -- 2.39.2