From 7d5453bbbb72a1062fbf780efd77cdee52f1cbe7 Mon Sep 17 00:00:00 2001 From: florent Date: Thu, 27 Jul 2023 22:56:35 +0200 Subject: [PATCH] Fix option path --- src/about/window_about.cpp | 2 +- src/option/option_file.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/about/window_about.cpp b/src/about/window_about.cpp index 0969db6..4a3e411 100644 --- a/src/about/window_about.cpp +++ b/src/about/window_about.cpp @@ -44,7 +44,7 @@ WindowAbout::WindowAbout(kebb::boxsize screen_size, std::shared_ptr(pt, bs); - _widget_date->set_text("2023-07-25"); + _widget_date->set_text("2023-07-27"); _widget_date->set_color_text(kebb::color(kebb::ColorName::C_Yellow)); char_size = _renderer->font_char_size(FontName::F_Menu); // NOTE: Use font menu ? diff --git a/src/option/option_file.cpp b/src/option/option_file.cpp index 9847055..1474d11 100644 --- a/src/option/option_file.cpp +++ b/src/option/option_file.cpp @@ -5,7 +5,7 @@ OptionFile::OptionFile() _capitals("0"), _numbers("1"), _symbols("0"), _french_extras("0"), _french_extra_caps("0") { #ifdef RELEASE_LINUX - _filename = std::string(getenv("USER")) + ".kebb"; + _filename = std::string(getenv("HOME")) + "/.kebb"; #else _filename = std::string("./options.kebb"); #endif