]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.cpp
File missing in the tarball
[lyx.git] / src / support / debug.cpp
index b242df47cefc28fb722da40d76603dd17774e8a7..1656967e7011cc619299cbaf1d5b9ff1242a2b58 100644 (file)
@@ -37,7 +37,7 @@ struct ErrorItem {
 
 
 ErrorItem errorTags[] = {
-       { Debug::NONE,      "none",      N_("No debugging message")},
+       { Debug::NONE,      "none",      N_("No debugging messages")},
        { Debug::INFO,      "info",      N_("General information")},
        { Debug::INIT,      "init",      N_("Program initialisation")},
        { Debug::KEY,       "key",       N_("Keyboard events handling")},
@@ -191,7 +191,7 @@ void LyXErr::endl()
        if (enabled_) {
                stream() << std::endl;
                if (second_used_)
-                       second() << "\n";
+                       second() << std::endl;
        }
 }
 
@@ -202,7 +202,7 @@ LyXErr & toStream(LyXErr & l, T t)
 {
        if (l.enabled()){
                l.stream() << t;
-               if (l.second_used()){
+                if (l.second_used()) {
                        l.second() << t;
                        ProgressInterface::instance()->lyxerrFlush();
                }