*/}}
瀏覽代碼

stop time info crash

YimingWu 2 年之前
父節點
當前提交
f22bf99e05
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/la_properties.c

+ 1 - 1
resources/la_properties.c

@@ -893,7 +893,7 @@ void la_RegisterInternalProps(){
 
         // TIME INFO =========================================================================================
 
-        p = laAddPropertyContainer("time_info", "Time Info", "Time Information Y/M/D/H/M/S", L'🕒', 0, sizeof(laTimeInfo), 0, 0, 0);{
+        p = laAddPropertyContainer("time_info", "Time Info", "Time Information Y/M/D/H/M/S", L'🕒', 0, sizeof(laTimeInfo), 0, 0, LA_PROP_OTHER_ALLOC);{
             laAddIntProperty(p, "year", "Year", "Year Value", 0, 0, 0, 0, 0, 0, 0, 0, 0, laget_TimeYear, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
             laAddIntProperty(p, "month", "Month", "Month Value", 0, 0, 0, 0, 0, 0, 0, 0, 0, laget_TimeMonth, 0, 0, 0, 0, 0, 0, 0, 0, 0,LA_READ_ONLY);
             laAddIntProperty(p, "day", "Day", "Day Value", 0, 0, 0, 0, 0, 0, 0, 0, 0, laget_TimeDay, 0, 0, 0, 0, 0, 0, 0, 0, 0,LA_READ_ONLY);