Forráskód Böngészése

Changed the default value for Char, to be a #0 char and not an empty string.

Henrique Gottardi Werlang 1 éve
szülő
commit
776216d032
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      packages/pastojs/src/fppas2js.pp

+ 2 - 0
packages/pastojs/src/fppas2js.pp

@@ -25021,6 +25021,8 @@ begin
           Lit.Value.AsNumber:=0
         else if bt in btAllJSFloats then
           Lit.Value.CustomValue:='0.0'
+        else if bt in btAllJSChars then
+          Lit.Value.AsString := #0
         else if bt in btAllJSStringAndChars then
           Lit.Value.AsString:=''
         else if bt in btAllJSBooleans then