From c9aca08d4ee5e0ed869eb3a51381deeaa6604319 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sat, 8 Sep 2012 15:04:06 +0100 Subject: [PATCH] readdir created theme array, fix to for counter Instead of using a hardcoded array, we are now generating this from CSS files in the CodeMirror theme folder Need to count the array length, not 1 less than it (2 places) --- lib/settings-screen.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/settings-screen.php b/lib/settings-screen.php index 31d301b..1e0eed1 100644 --- a/lib/settings-screen.php +++ b/lib/settings-screen.php @@ -1,5 +1,4 @@ - @@ -19,8 +18,15 @@ '.PHP_EOL; } ?> @@ -128,7 +134,7 @@ theme