]> git.lyx.org Git - lyx.git/blobdiff - src/intl.C
get builddir!=srcdir compiling working; allow successful make even without noweb...
[lyx.git] / src / intl.C
index c6292d7ddcf6b324a5d58564ac4ba32967029caa..0f33480ee6a6db0af4ee3610db7a0c6b5181e405 100644 (file)
@@ -273,10 +273,13 @@ void Intl::InitKeyMapper(bool on)
        Language2->add(120, 110, 160, 30, 300); // Secondary
        fl_end_form();
 
-       int n = 1;
+       int n = 0;
        // Default is not in the language map
+#ifdef DO_USE_DEFAULT_LANGUAGE
        Language->addto("default");
        Language2->addto("default");
+       ++n;
+#endif
        for (Languages::const_iterator cit = languages.begin();
             cit != languages.end(); ++cit) {
                Language->addto((*cit).second.lang());