Browse Source

Fix JSON text

George King 4 months ago
parent
commit
f16955818c
1 changed files with 4 additions and 3 deletions
  1. 4 3
      CI/wininstaller/installer.iss

+ 4 - 3
CI/wininstaller/installer.iss

@@ -765,9 +765,9 @@ begin
 
       JSONContent :=
         '{' + #13#10 +
-        #9 + '"general" : {' + #13#10 +
-        #9 + #9 + '"language" : "' + Language + '"' + #13#10 +
-        #9 + '}' + #13#10 +
+        Chr(9) + '"general" : {' + #13#10 +
+        Chr(9) + Chr(9) + '"language" : "' + Language + '"' + #13#10 +
+        Chr(9) + '}' + #13#10 +
         '}';
 
     if not DirExists(ConfigDir) then
@@ -970,3 +970,4 @@ end;
 
 
 
+