]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/shader-cpp.sh
fix a typo for nested ifdefs
[xonotic/xonotic-maps.pk3dir.git] / 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