From 133154a9fb79450efed5757f42b6ed4b70a0014b Mon Sep 17 00:00:00 2001 From: Leonardo Silva <99574879+Leonard-The-Wise@users.noreply.github.com> Date: Tue, 26 Apr 2022 16:21:42 -0300 Subject: [PATCH] Fix Dark Mode for Notepad++ 8.4 --- src/PluginMain.cpp | 2 +- src/ProjectVersion.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PluginMain.cpp b/src/PluginMain.cpp index fa6deef..82586ab 100644 --- a/src/PluginMain.cpp +++ b/src/PluginMain.cpp @@ -357,7 +357,7 @@ void Plugin::SetNotepadData(NppData& data) Settings().notepadVersion = currentNotepad; } - if (currentNotepad >= "8.3.4") + if (currentNotepad > "8.4") _NppSupportDarkModeMessages = true; // Adjust menu "Use Auto-Indentation" checked or not before creation diff --git a/src/ProjectVersion.h b/src/ProjectVersion.h index 4617c46..d46833c 100644 --- a/src/ProjectVersion.h +++ b/src/ProjectVersion.h @@ -23,8 +23,8 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 0 -#define VERSION_PATCH 0 -#define VERSION_BUILD 1900 +#define VERSION_PATCH 1 +#define VERSION_BUILD 1920 #define VERSION_STRING stringify(VERSION_MAJOR) "." stringify(VERSION_MINOR) "." \ stringify(VERSION_PATCH) "." stringify(VERSION_BUILD)