From cd520911d7d82f3707628e514d9020682e9736c7 Mon Sep 17 00:00:00 2001 From: Lyon Date: Tue, 1 Aug 2023 19:59:18 +0800 Subject: [PATCH] fix syntax issue on msvc --- src/PikaParser.c | 2 +- src/PikaVersion.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PikaParser.c b/src/PikaParser.c index 12e732ab9..a95658979 100644 --- a/src/PikaParser.c +++ b/src/PikaParser.c @@ -2464,7 +2464,7 @@ Arg* arg_strAddIndentMulti(Arg* aStrInMuti, int indent) { char* sLine = NULL; int iLineNum = strGetLineNum(sStrInMuti); Arg* aStrOut = arg_newStr(""); - Args buffs = {}; + Args buffs = {0}; for (int i = 0; i < iLineNum; i++) { sLine = strsPopLine(&buffs, &sStrInMuti); Arg* aLine = arg_newStr(sLine); diff --git a/src/PikaVersion.h b/src/PikaVersion.h index 72335dfd5..014a22dd9 100644 --- a/src/PikaVersion.h +++ b/src/PikaVersion.h @@ -2,4 +2,4 @@ #define PIKA_VERSION_MINOR 12 #define PIKA_VERSION_MICRO 4 -#define PIKA_EDIT_TIME "2023/08/01 19:43:54" +#define PIKA_EDIT_TIME "2023/08/01 19:59:06"