]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix a MAJOR strzone leak
authorRudolf Polzer <divverent@alientrap.org>
Tue, 18 Jan 2011 15:08:03 +0000 (16:08 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 18 Jan 2011 15:08:03 +0000 (16:08 +0100)
qcsrc/menu/xonotic/slider_decibels.c

index f517a0bc605a0560a4bbd195b7e7b81128bfb34d..24edb4cb91b6deef418b7d17053411e4912a578b 100644 (file)
@@ -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));
 }