From 3b3855449c2d54b8d9b97528dec97f345535c292 Mon Sep 17 00:00:00 2001 From: xue_meng_en <1836611252@qq.com> Date: Mon, 24 Apr 2023 15:17:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dresname=E4=B8=BANULL=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=AE=B5=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cm_ctl/ctl_res_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cm_ctl/ctl_res_list.cpp b/src/cm_ctl/ctl_res_list.cpp index f6d67d3..e8caf25 100644 --- a/src/cm_ctl/ctl_res_list.cpp +++ b/src/cm_ctl/ctl_res_list.cpp @@ -140,7 +140,7 @@ static status_t SetResBaseInfoInArray(ResBaseInfo *info, const cJSON *resArray, } resName = GetValueStrFromCJson(item, RES_NAME); if (resName == NULL) { - resName = NULL; + resName = PRINT_NULL; } else { isCanPrint = CM_TRUE; } @@ -188,7 +188,7 @@ static void PrintAllResInfoBody(const ResBaseInfo *info, const cJSON *resArray) } resName = GetValueStrFromCJson(item, RES_NAME); if (resName == NULL) { - resName = NULL; + resName = PRINT_NULL; } resType = GetValueStrFromCJson(item, RESOURCE_TYPE); if (resType == NULL) { -- Gitee