From 1089f84f65e9016d6f7bb335211ef37fbadc8b92 Mon Sep 17 00:00:00 2001 From: Norayr Chilingarian Date: Thu, 7 May 2020 19:18:14 +0400 Subject: [PATCH] got rid of closing 0X in vipackConf.json --- vpkConf.Mod | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vpkConf.Mod b/vpkConf.Mod index 657e6a5..e443a0b 100644 --- a/vpkConf.Mod +++ b/vpkConf.Mod @@ -1,5 +1,6 @@ MODULE vpkConf; -IMPORT Out,Files, vpkFsHelper, Platform; +IMPORT Out, Files, Strings, Platform, + vpkFsHelper; PROCEDURE confExists*(VAR confFile: ARRAY OF CHAR ):BOOLEAN; BEGIN @@ -33,7 +34,7 @@ VAR f : Files.File; BEGIN f := Files.Old(pathToFile); Files.Set(r,f,posRider); -Files.WriteString(r,text); +Files.WriteBytes(r, text, Strings.Length(text)); Files.Close(f); END writeInFile;