From c1b8845a268e92d28d07a41024442ef3a35a02c9 Mon Sep 17 00:00:00 2001 From: Arnaud Botella <arnaud.botella@geode-solutions.com> Date: 周一, 04 5月 2020 19:27:16 +0800 Subject: [PATCH] Install lccinspector with lccgen (#88) --- src/library/licensecc.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/licensecc.cpp b/src/library/licensecc.cpp index 087d7cf..ea34b28 100644 --- a/src/library/licensecc.cpp +++ b/src/library/licensecc.cpp @@ -77,8 +77,8 @@ string project; size_t str_size; if (callerInformation != nullptr && - (str_size = license::mstrnlen_s(callerInformation->project_name, sizeof callerInformation->project_name)) > 0) { - project = string(callerInformation->project_name, str_size); + (str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->feature_name)) > 0) { + project = string(callerInformation->feature_name, str_size); } else { project = string(LCC_PROJECT_NAME); } -- Gitblit v1.9.1