Merge branch 'master' of github.com:john30/ebusd
This commit is contained in:
+2
-2
@@ -767,9 +767,9 @@ result_t loadScanConfigFile(MessageMap* messages, unsigned char address, SymbolS
|
|||||||
matches = true;
|
matches = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (remain[remain.length()-1]!='0')
|
if (remain[remain.length()-1]<'0' || remain[remain.length()-1]>'9')
|
||||||
break;
|
break;
|
||||||
remain.erase(remain.length()-1);
|
remain.erase(remain.length()-1); // remove trailing digit
|
||||||
}
|
}
|
||||||
if (matches)
|
if (matches)
|
||||||
match += remain.length();
|
match += remain.length();
|
||||||
|
|||||||
Reference in New Issue
Block a user