fix small typo in webif translator
authorFelix Fietkau <nbd@openwrt.org>
Sun, 5 Feb 2006 21:50:59 +0000 (21:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 5 Feb 2006 21:50:59 +0000 (21:50 +0000)
SVN-Revision: 3152

openwrt/package/webif/src/webif-page.c

index f06071ffadbca3bda420fdb921b65c538ac2499b..fd6f6e1280dbfa90e109c273d2f19e6dd7908912 100644 (file)
@@ -225,7 +225,7 @@ nomatch:
                if (i == GLOB_NOSPACE || i == GLOB_ABORTED || i == GLOB_NOMATCH) {
                        // no language files found
                } else {
-                       for (i = 0; i < langfiles.gl_pathc; --i) {
+                       for (i = 0; i < langfiles.gl_pathc; i++) {
                                load_lang(langfiles.gl_pathv[i]);
                        }
                }