mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Fixed an off-by-one bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3993 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ca73116a03
commit
70d2d9e50f
@ -89,7 +89,7 @@ int IsLocalLabelName (const char* Name)
|
||||
if (Name[0] != 'L' || strlen (Name) != 5) {
|
||||
return 0;
|
||||
}
|
||||
for (I = 1; I <= 5; ++I) {
|
||||
for (I = 1; I <= 4; ++I) {
|
||||
if (!IsXDigit (Name[I])) {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user