summaryrefslogtreecommitdiff
path: root/src/lintmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lintmanager.cpp')
-rw-r--r--src/lintmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lintmanager.cpp b/src/lintmanager.cpp
index 97ee925..bba2926 100644
--- a/src/lintmanager.cpp
+++ b/src/lintmanager.cpp
@@ -114,7 +114,7 @@ void LintManager::applyRulesToFile()
FOR_EACH (std::vector<RuleBase*>::iterator, it, mSelectedRules)
{
RuleBase *const rule = *it;
- int line = 0;
+ int line = 1;
FOR_EACH (std::vector<std::string>::const_iterator, itStr, mFileData)
{
const std::string &str = *itStr;