]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
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 3c1b83c063ba73cc893a8f1d4a3d1f1eae99b989..28890ae3e9cd135fd22bc8af1f57870f93673938 100755 (executable)
@@ -90,10 +90,10 @@ preprocess()
                                ;;
                        '#else')
                                case "$condstack" in
-                                       0)
+                                       0*)
                                                condstack=1${condstack#0}
                                                ;;
-                                       1)
+                                       1*)
                                                condstack=0${condstack#1}
                                                ;;
                                esac