Skip to content

Commit

Permalink
Correction of 6362.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Aug 23, 2024
1 parent ca947e0 commit 0ca6a57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions far/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
--------------------------------------------------------------------------------
drkns 2024-08-24 00:55:19+01:00 - build 6363

1. Correction of 6362.2.

--------------------------------------------------------------------------------
drkns 2024-08-23 23:13:12+01:00 - build 6362

Expand Down
2 changes: 1 addition & 1 deletion far/colormix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ WORD FarColorToConsoleColor(const FarColor& Color)
const auto& Palette = console_palette();
static std::unordered_map<COLORREF, uint8_t> Map;

Result = color_to_palette_index(Color, LastColor, Palette, Map);
Result = color_to_palette_index(Color, LastColor, std::span(Palette.data(), index::nt_size), Map);

if (
Result.ForegroundIndex == Result.BackgroundIndex &&
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6362
6363

0 comments on commit 0ca6a57

Please sign in to comment.