Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/52c419a10abe13e1481e4179f47d871b7a0a53b4
>---------------------------------------------------------------
commit 52c419a10abe13e1481e4179f47d871b7a0a53b4
Author: Alex Alabuzhev <
alab...@gmail.com>
Date: Thu Oct 16 20:23:09 2025 +0100
Minor fix in color processing
>---------------------------------------------------------------
52c419a10abe13e1481e4179f47d871b7a0a53b4
far/colormix.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/far/colormix.cpp b/far/colormix.cpp
index 3a61263e0..ba427fede 100644
--- a/far/colormix.cpp
+++ b/far/colormix.cpp
@@ -304,8 +304,6 @@ namespace colors
auto Result = Bottom;
- flags::clear(Result.Flags, FCF_FOREIGN);
-
const auto merge_part = [&](COLORREF FarColor::*ColorAccessor, const FARCOLORFLAGS Flag)
{
const auto TopValue = std::invoke(ColorAccessor, Top);
@@ -314,6 +312,8 @@ namespace colors
if (is_transparent(TopValue))
return;
+ flags::clear(Result.Flags, FCF_FOREIGN);
+
auto& ResultValue = std::invoke(ColorAccessor, Result);
// Simple case