fix a typo for nested ifdefs
authorRudolf Polzer <divverent@xonotic.org>
Thu, 5 Apr 2012 15:12:56 +0000 (17:12 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 5 Apr 2012 15:12:56 +0000 (17:12 +0200)
scripts/shader-cpp.sh

index 3c1b83c..28890ae 100755 (executable)
@@ -90,10 +90,10 @@ preprocess()
                                ;;
                        '#else')
                                case "$condstack" in
-                                       0)
+                                       0*)
                                                condstack=1${condstack#0}
                                                ;;
-                                       1)
+                                       1*)
                                                condstack=0${condstack#1}
                                                ;;
                                esac