Skip to content

Commit

Permalink
quick fix of "JO" colour highlight issue
Browse files Browse the repository at this point in the history
  • Loading branch information
r3w0p committed May 31, 2024
1 parent b2bccec commit 7f9215b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(PROJECT_VERSION 1.2.0)
set(PROJECT_VERSION 1.2.1)
set(PROJECT_DESCRIPTION "A command-line version of the Caravan card game from Fallout: New Vegas.")
set(PROJECT_COPYRIGHT "Copyright (c) 2022-2024 r3w0p")
set(PROJECT_URL "https://github.com/r3w0p/caravan")
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
| (_| (_| | | | (_| |\ \/ / (_| | | | |
\___\__,_|_| \__,_| \__/ \__,_|_| |_|

| v1.2.0 | GPL-3.0 | (c) 2022-2024 r3w0p |
| v1.2.1 | GPL-3.0 | (c) 2022-2024 r3w0p |

A command-line version of the Caravan card game from Fallout: New Vegas.

Expand Down
2 changes: 1 addition & 1 deletion src/caravan/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int main(int argc, char *argv[]) {

options.add_options()
(OPTS_HELP, "Print help instructions.")
(OPTS_VERSION, "Print software version.")
(OPTS_VERSION, "Print Caravan version.")
(OPTS_PVP, "A Player vs Player game.")
(OPTS_BVB, "A Bot vs Bot game.")
(OPTS_BOT, "Which bot to play with (normal, friendly).", cxxopts::value<std::string>()->default_value("normal"))
Expand Down
2 changes: 1 addition & 1 deletion src/caravan/view/view_tui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ std::shared_ptr<ftxui::Node> gen_faces(ViewConfig *vc, Slot slot, bool blank = f

if(r == JOKER) {
ranks += L"J";
suits.push_back(text(L"O"));
suits.push_back(text(L"O") | color(Color::Default));
} else {
ranks += rank_to_wstr(r, false);
suits.push_back(suit_to_text(vc, s));
Expand Down

0 comments on commit 7f9215b

Please sign in to comment.