diff options
author | Clifford Wolf <clifford@clifford.at> | 2012-04-23 23:17:21 (GMT) |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2012-04-23 23:17:21 (GMT) |
commit | a718c4a59dd251dd4c2cf8fca1ae6a5ebe1ad990 (patch) | |
tree | b5812d3753058feb93b2bd3f1f95da1f8aef65f5 /src/mainwin.cc | |
parent | dde401cadb499b272c1a2fe992e48c354bc5e5cf (diff) |
Some trivial fixes for compiler warnings
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 90e5f61..087cb30 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1037,8 +1037,7 @@ bool MainWindow::compileTopLevelDocument(bool reload) { bool shouldcompiletoplevel = !reload; - if (reload && - (fileChangedOnDisk() && checkEditorModified()) || + if ((reload && fileChangedOnDisk() && checkEditorModified()) || includesChanged()) { shouldcompiletoplevel = true; refreshDocument(); |