From: Rudolf Polzer Date: Thu, 5 Apr 2012 15:12:56 +0000 (+0200) Subject: fix a typo for nested ifdefs X-Git-Tag: xonotic-v0.7.0~59 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cf7e86e402578c8a807ffcb15041ec19b0dffe23;p=xonotic%2Fxonotic-maps.pk3dir.git fix a typo for nested ifdefs --- diff --git a/scripts/shader-cpp.sh b/scripts/shader-cpp.sh index 3c1b83c0..28890ae3 100755 --- a/scripts/shader-cpp.sh +++ b/scripts/shader-cpp.sh @@ -90,10 +90,10 @@ preprocess() ;; '#else') case "$condstack" in - 0) + 0*) condstack=1${condstack#0} ;; - 1) + 1*) condstack=0${condstack#1} ;; esac