]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.cpp
saner borderline between buffer and exporter
[lyx.git] / src / LyXRC.cpp
index 099de7575cc7cf701a69a941dce31d0025ee681d..16358855ee7f8764847bf8d8acad4cdc2ddc9b89 100644 (file)
@@ -1215,7 +1215,7 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
        LyXRCTags tag = RC_LAST;
        
        if (!name.empty()) {
-               for (size_t i = 0; i < lyxrcCount; ++i)
+               for (int i = 0; i != lyxrcCount; ++i)
                        if ("\\" + name == lyxrcTags[i].tag)
                                tag = static_cast<LyXRCTags>(lyxrcTags[i].code);
        }