summaryrefslogtreecommitdiff
path: root/src/rules/license.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/license.cpp')
-rw-r--r--src/rules/license.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rules/license.cpp b/src/rules/license.cpp
index fe81816..0ec320e 100644
--- a/src/rules/license.cpp
+++ b/src/rules/license.cpp
@@ -46,19 +46,19 @@ endRule(license)
parseLineRule(license)
{
- if (line == 0 && data != "/*")
+ if (line == 1 && data != "/*")
{
print("Should be license header");
terminateRule();
return;
}
- else if (line == 1 && data != " * The ManaPlus Client")
+ else if (line == 2 && data != " * The ManaPlus Client")
{
print("Should be 'The ManaPlus Client' in header");
terminateRule();
return;
}
- else if (line > 1)
+ else if (line > 2)
{
if (checkText)
{