From 8ff442735589e4276cc3ed2b1626012f2d81f13c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 18 Jan 2011 16:08:03 +0100 Subject: [PATCH] fix a MAJOR strzone leak --- qcsrc/menu/xonotic/slider_decibels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/xonotic/slider_decibels.c b/qcsrc/menu/xonotic/slider_decibels.c index f517a0bc6..24edb4cb9 100644 --- a/qcsrc/menu/xonotic/slider_decibels.c +++ b/qcsrc/menu/xonotic/slider_decibels.c @@ -47,9 +47,9 @@ void XonoticDecibelsSlider_saveCvars(entity me) string XonoticDecibelsSlider_valueToText(entity me, float v) { if(v < -33) - return ZCTX(_("VOL^OFF")); + return CTX(_("VOL^OFF")); else if(v >= -0.1) - return ZCTX(_("VOL^MAX")); + return CTX(_("VOL^MAX")); return sprintf(_("%s dB"), SUPER(XonoticDecibelsSlider).valueToText(me, v)); } -- 2.39.2