mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 10:40:17 +00:00
Fix "Update all pages" process
- ignore local link targets here, only the page name is relevant for download
This commit is contained in:
parent
7ad57f5c30
commit
12e63da7a4
1 changed files with 3 additions and 2 deletions
|
@ -18959,8 +18959,9 @@ FUNCTION ideupdatehelpbox
|
||||||
DO UNTIL EOF(fh)
|
DO UNTIL EOF(fh)
|
||||||
LINE INPUT #fh, l$
|
LINE INPUT #fh, l$
|
||||||
IF LEN(l$) THEN
|
IF LEN(l$) THEN
|
||||||
c = INSTR(l$, ","): l$ = RIGHT$(l$, LEN(l$) - c)
|
c = INSTR(l$, ","): l$ = MID$(l$, c + 1) ' 'we only need the page name here
|
||||||
IF Help_Recaching < 2 OR LEFT$(l$, 3) <> "_gl" THEN 'ignore _GL pages for 'qb64pe -u' (build time update)
|
c = INSTR(l$, "#"): IF c > 0 THEN l$ = LEFT$(l$, c - 1) 'but not the local link target (if any)
|
||||||
|
IF Help_Recaching < 2 OR LEFT$(l$, 3) <> "_gl" THEN ' 'ignore _GL pages for 'qb64pe -u' (build time update)
|
||||||
'Escape all invalid and other critical chars in filenames
|
'Escape all invalid and other critical chars in filenames
|
||||||
PageName2$ = ""
|
PageName2$ = ""
|
||||||
FOR i = 1 TO LEN(l$)
|
FOR i = 1 TO LEN(l$)
|
||||||
|
|
Loading…
Reference in a new issue