1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 11:59:34 +00:00

Fix a bug that would save CHR$(34) as a literal in captions.

This commit is contained in:
FellippeHeitor 2017-01-08 19:57:47 -02:00
parent 845afd92ac
commit d97960c063
3 changed files with 1 additions and 1 deletions

View file

@ -4210,7 +4210,7 @@ FUNCTION __UI_SpecialCharsToCHR$ (Text$)
Temp$ = CHR$(34)
FOR i = 1 TO LEN(Text$)
IF ASC(Text$, i) < 32 THEN
IF ASC(Text$, i) < 32 OR ASC(Text$, i) = 34 THEN
Temp$ = Temp$ + CHR$(34) + " + CHR$(" + LTRIM$(STR$(ASC(Text$, i))) + ") + " + CHR$(34)
ELSE
Temp$ = Temp$ + MID$(Text$, i, 1)

Binary file not shown.

Binary file not shown.