From cf0ea3033eee35baaf79ab374904d63c92a6e852 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Sun, 22 Jun 2025 12:41:13 -0700 Subject: [PATCH] Fix warning for euro symbol in CustomMessageManager.h. (#5604) --- soh/CMakeLists.txt | 2 ++ soh/soh/Enhancements/custom-message/CustomMessageManager.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/soh/CMakeLists.txt b/soh/CMakeLists.txt index 1f8383664..28d8774bf 100644 --- a/soh/CMakeLists.txt +++ b/soh/CMakeLists.txt @@ -138,6 +138,8 @@ endforeach() if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") set_source_files_properties(soh/OTRGlobals.cpp PROPERTIES COMPILE_FLAGS "/utf-8") set_source_files_properties(soh/Enhancements/tts/tts.cpp PROPERTIES COMPILE_FLAGS "/utf-8") + set_source_files_properties(soh/Enhancements/custom-message/CustomMessageManager.cpp PROPERTIES COMPILE_FLAGS "/utf-8") + set_source_files_properties(soh/Enhancements/custom-message/CustomMessageManager.h PROPERTIES COMPILE_FLAGS "/utf-8") endif() # handle Network removals diff --git a/soh/soh/Enhancements/custom-message/CustomMessageManager.h b/soh/soh/Enhancements/custom-message/CustomMessageManager.h index f0edd3079..51bb84eb8 100644 --- a/soh/soh/Enhancements/custom-message/CustomMessageManager.h +++ b/soh/soh/Enhancements/custom-message/CustomMessageManager.h @@ -154,9 +154,9 @@ class CustomMessage { void InsertNumber(uint8_t num); /** - * @brief A € sign at the end of an item name signals that it is plural. + * @brief A € sign at the end of an item name signals that it is plural. * If a hint text has |singular|plural| forms specified, the unused one get's deleted. - * If no € sign is present, the singular form is used. + * If no € sign is present, the singular form is used. */ void SetSingularPlural();