From 1cce7c286aa517ed7fc7e4c82ea6b2c8a9156af9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 5 Jan 2024 19:12:59 +0100 Subject: [PATCH] text --- client/src/fileutils.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/fileutils.c b/client/src/fileutils.c index a17ca625b..c4e915509 100644 --- a/client/src/fileutils.c +++ b/client/src/fileutils.c @@ -1364,7 +1364,7 @@ int loadFileJSONex(const char *preferredName, void *data, size_t maxdatalen, siz json_error_t error; json_t *root = json_load_file(path, 0, &error); if (verbose) { - PrintAndLogEx(SUCCESS, "loaded from JSON file `" _YELLOW_("%s") "`", path); + PrintAndLogEx(SUCCESS, "loaded " _YELLOW_("%s"), path); } free(path); @@ -1904,8 +1904,9 @@ int loadFileJSONroot(const char *preferredName, void **proot, bool verbose) { json_error_t error; json_t *root = json_load_file(path, 0, &error); - if (verbose) - PrintAndLogEx(SUCCESS, "loaded from JSON file " _YELLOW_("%s"), path); + if (verbose) { + PrintAndLogEx(SUCCESS, "loaded " _YELLOW_("%s"), path); + } free(path);