]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/draw.qc
Unify boolean constants
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / draw.qc
index 7596c0c3a1c47c3b3920303dd18136da131cc712..ff9d9590d1864b89db9b7f33e7ef1dc86c1e700a 100644 (file)
@@ -362,12 +362,12 @@ string draw_TextShortenToWidth(string theText, float maxWidth, float ICanHasKall
 
 float draw_TextWidth_WithColors(string s, vector theFontSize)
 {
-       return draw_TextWidth(s, TRUE, theFontSize);
+       return draw_TextWidth(s, true, theFontSize);
 }
 
 float draw_TextWidth_WithoutColors(string s, vector theFontSize)
 {
-       return draw_TextWidth(s, FALSE, theFontSize);
+       return draw_TextWidth(s, false, theFontSize);
 }
 
 float draw_TextLengthUpToWidth(string theText, float maxWidth, float allowColorCodes, vector theFontSize)