diff --git a/src/import/html_encode.h b/src/import/html_encode.h
index 498975d9..4fa394c5 100644
--- a/src/import/html_encode.h
+++ b/src/import/html_encode.h
@@ -12,7 +12,7 @@
#ifndef __HTML_ENCODE_H__
#define __HTML_ENCODE_H__
-#include "../i18n-check/src/string_util.h"
+#include "../util/string_util.h"
#include "html_extract_text.h"
namespace lily_of_the_valley
@@ -28,8 +28,7 @@ namespace lily_of_the_valley
@param encodeSpaces @c true to preserve consecutive spaces with `nbsp;`.
@returns A string encoded to HTML.*/
[[nodiscard]]
- std::wstring
- operator()(const std::wstring_view text, const bool encodeSpaces) const
+ std::wstring operator()(const std::wstring_view text, const bool encodeSpaces) const
{
std::wstring encoded_text;
if (text.empty())
diff --git a/src/import/rtf_encode.h b/src/import/rtf_encode.h
index b5aa2570..c2f53a1b 100644
--- a/src/import/rtf_encode.h
+++ b/src/import/rtf_encode.h
@@ -12,7 +12,7 @@
#ifndef __RTF_ENCODE_H__
#define __RTF_ENCODE_H__
-#include "../i18n-check/src/string_util.h"
+#include "../util/string_util.h"
namespace lily_of_the_valley
{
diff --git a/src/import/rtf_extract_text.h b/src/import/rtf_extract_text.h
index adb40db0..5853075d 100644
--- a/src/import/rtf_extract_text.h
+++ b/src/import/rtf_extract_text.h
@@ -12,7 +12,7 @@
#ifndef __RTF_EXTRACT_H__
#define __RTF_EXTRACT_H__
-#include "../i18n-check/src/string_util.h"
+#include "../util/string_util.h"
#include "extract_text.h"
#include "html_extract_text.h"
#include
@@ -267,8 +267,7 @@ namespace lily_of_the_valley
rtf_symbol() = delete;
[[nodiscard]]
- bool
- operator<(const rtf_symbol& that) const noexcept
+ bool operator<(const rtf_symbol& that) const noexcept
{
return (szKeyword.compare(that.szKeyword) < 0);
}
diff --git a/src/ui/app.h b/src/ui/app.h
index 4520a7cf..83850ed1 100644
--- a/src/ui/app.h
+++ b/src/ui/app.h
@@ -13,8 +13,8 @@
#define __BASEAPP_H__
#include "../debug/debug_profile.h"
-#include "../i18n-check/src/donttranslate.h"
#include "../math/safe_math.h"
+#include "../util/donttranslate.h"
#include "../util/logfile.h"
#include "../util/resource_manager.h"
#include "mainframe.h"
@@ -213,10 +213,7 @@ namespace Wisteria::UI
/// @param append @c true to append to the log file from today;
/// @c false to overwrite it.
/// @note This must be called before BaseApp::OnInit().
- void AppendDailyLog(const bool append) noexcept
- {
- m_appendDailyLog = append;
- }
+ void AppendDailyLog(const bool append) noexcept { m_appendDailyLog = append; }
/// @brief Sets a support email for the application.
/// @param email The email address.
diff --git a/src/ui/controls/codeeditor.h b/src/ui/controls/codeeditor.h
index 3f373adb..20a9422b 100644
--- a/src/ui/controls/codeeditor.h
+++ b/src/ui/controls/codeeditor.h
@@ -12,8 +12,8 @@
#ifndef __CODE_EDITOR_H__
#define __CODE_EDITOR_H__
-#include "../../i18n-check/src/donttranslate.h"
-#include "../../i18n-check/src/string_util.h"
+#include "../../util/donttranslate.h"
+#include "../../util/string_util.h"
#include