The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 4e6932e44f892a4167912bd904ba396efe7f88a8
Author: Scott Kostyshak <[email protected]>
Date:   Sun Apr 21 01:39:19 2013 -0400

    Fix ChkTeX error reporting (#8639)
    
    ChkTeX errors from a previous run are now cleared from the
    error list if ChkTeX exits with no error.

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 01a72f2..7f3773c 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -1981,7 +1981,7 @@ int Buffer::runChktex()
        if (res == -1) {
                Alert::error(_("chktex failure"),
                             _("Could not run chktex successfully."));
-       } else if (res > 0) {
+       } else {
                ErrorList & errlist = d->errorLists["ChkTeX"];
                errlist.clear();
                bufferErrors(terr, errlist);

-----------------------------------------------------------------------

Summary of changes:
 src/Buffer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to