From cf7e86e402578c8a807ffcb15041ec19b0dffe23 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 5 Apr 2012 17:12:56 +0200 Subject: [PATCH] fix a typo for nested ifdefs --- scripts/shader-cpp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2