1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 10:30:36 +00:00

Fixes error in contextual menu.

Right-clicking a series of high-ascii characters would crash the ide 
when right-clicking to open the contextual menu.
This commit is contained in:
Fellippe Heitor 2021-03-05 14:38:46 -03:00
parent 363fc7814a
commit 6ada6a475d

View file

@ -13351,7 +13351,7 @@ SUB IdeMakeContextualMenu
v = 0
CurrSF$ = FindCurrentSF$(idecy)
IF NOT Error_Happened THEN v = HashFind(a2$, HASHFLAG_LABEL, ignore, r)
IF validname(a2$) THEN v = HashFind(a2$, HASHFLAG_LABEL, ignore, r)
CheckThisLabel:
IF v THEN
LabelLineNumber = Labels(r).SourceLineNumber