From e28f2dfea14e861ca9423874962196f7de41c604 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 16 May 2023 14:41:02 +0200 Subject: [PATCH] fix: Only 5 patterns per byte being highlighted Fixes #1076 --- lib/external/libwolv | 2 +- .../builtin/source/content/communication_interface.cpp | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/external/libwolv b/lib/external/libwolv index 113917c44..1ae53df9d 160000 --- a/lib/external/libwolv +++ b/lib/external/libwolv @@ -1 +1 @@ -Subproject commit 113917c4472d61692ac8e8feff922d416efcef1d +Subproject commit 1ae53df9d2469ed57a9e92ba8ebd763b07634606 diff --git a/plugins/builtin/source/content/communication_interface.cpp b/plugins/builtin/source/content/communication_interface.cpp index 109f1be1d..e8ddc759c 100644 --- a/plugins/builtin/source/content/communication_interface.cpp +++ b/plugins/builtin/source/content/communication_interface.cpp @@ -17,12 +17,14 @@ namespace hex::plugin::builtin { nlohmann::json result; result["build"] = { - { "version", IMHEX_VERSION }, + { "version", IMHEX_VERSION }, + #if defined(GIT_COMMIT_HASH_LONG) - { "commit", GIT_COMMIT_HASH_LONG }, + { "commit", GIT_COMMIT_HASH_LONG }, #endif + #if defined(GIT_BRANCH) - { "branch", GIT_BRANCH }, + { "branch", GIT_BRANCH }, #endif };