project_files/hwc/rtl/sysutils.c
changeset 15877 6cb7330113d8
parent 14913 68e1783762bc
--- a/project_files/hwc/rtl/sysutils.c	Fri Sep 23 02:45:49 2022 +0300
+++ b/project_files/hwc/rtl/sysutils.c	Fri Sep 23 12:47:47 2022 -0400
@@ -83,7 +83,7 @@
 // Semi-dummy implementation of FormatDateTime
 string255 fpcrtl_formatDateTime(string255 FormatStr, TDateTime DateTime)
 {
-    string255 buffer = STRINIT(FormatStr.str);
+    string255 buffer = FormatStr;
     time_t rawtime;
     struct tm* my_tm;