mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 22:50:23 +00:00
Quick patch to _STRICMP. Enhancement to $COLOR not affecting line numbers.
This commit is contained in:
parent
cc16eaac1c
commit
f01d13f957
|
@ -6719,7 +6719,7 @@ int32 func__str_nc_compare(qbs *s1, qbs *s2) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (l1<l2) return -1;
|
if (l1<l2) return -1;
|
||||||
if (l2>l1) return 1;
|
if (l1>l2) return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1574,7 +1574,7 @@ DO
|
||||||
layout = ""
|
layout = ""
|
||||||
layoutok = 0
|
layoutok = 0
|
||||||
|
|
||||||
linenumber = linenumber + 1
|
IF ColorHack = 0 THEN linenumber = linenumber + 1 'don't update line number when mass assigning CONST values from $COLOR statement
|
||||||
|
|
||||||
DO UNTIL linenumber < UBOUND(InValidLine) 'color information flag for each line
|
DO UNTIL linenumber < UBOUND(InValidLine) 'color information flag for each line
|
||||||
REDIM _PRESERVE InValidLine(UBOUND(InValidLine) + 1000) AS _BIT
|
REDIM _PRESERVE InValidLine(UBOUND(InValidLine) + 1000) AS _BIT
|
||||||
|
|
Loading…
Reference in a new issue