diff --git a/src/LyX.cpp b/src/LyX.cpp index c24d87c92c..2fe6b90f8e 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -652,9 +652,9 @@ static void error_handler(int err_sig) #ifdef SIGHUP if (err_sig == SIGSEGV || - (err_sig != SIGHUP && !getEnv("LYXDEBUG").empty())) { + (err_sig != SIGHUP && !getEnv("LYXDEBUG").empty())) { #else - if (err_sig == SIGSEGV || !getEnv("LYXDEBUG").empty()) { + if (err_sig == SIGSEGV || !getEnv("LYXDEBUG").empty()) { #endif #ifdef _MSC_VER // with abort() it crashes again. diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 8e03b9f40a..27f5fff4f7 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -669,7 +669,7 @@ void GuiView::closeEvent(QCloseEvent * close_event) LYXERR(Debug::DEBUG, "GuiView::closeEvent()"); if (!GuiViewPrivate::busyBuffers.isEmpty()) { - Alert::warning(_("Exit LyX "), _("Could not exit LyX, because documents are procressed by LyX.")); + Alert::warning(_("Exit LyX"), _("Could not exit LyX, because documents are processed by LyX.")); close_event->setAccepted(false); return; }