From b1119a0c3597cf1ba8a2b884d5377e94397aa9d5 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 2 Aug 2024 18:44:46 -0400 Subject: [PATCH] housekeeping --- src/app/core/controller.cc | 3 ++- src/app/gfx/bitmap.h | 2 +- src/app/rom.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/core/controller.cc b/src/app/core/controller.cc index 12f843bf..4ba4bbc9 100644 --- a/src/app/core/controller.cc +++ b/src/app/core/controller.cc @@ -22,6 +22,7 @@ #include "absl/status/status.h" #include "absl/strings/str_format.h" +#include "app/core/platform/file_path.h" #include "app/core/platform/font_loader.h" #include "app/editor/master_editor.h" #include "app/gui/icons.h" @@ -471,7 +472,7 @@ absl::Status Controller::CreateGuiContext() { absl::Status Controller::LoadFontFamilies() const { ImGuiIO &io = ImGui::GetIO(); - const char *font_path = "assets/font/"; + const char *assets_path = "assets/font/"; static const char *KARLA_REGULAR = "Karla-Regular.ttf"; static const char *ROBOTO_MEDIUM = "Roboto-Medium.ttf"; static const char *COUSINE_REGULAR = "Cousine-Regular.ttf"; diff --git a/src/app/gfx/bitmap.h b/src/app/gfx/bitmap.h index fa8577d7..2d52933a 100644 --- a/src/app/gfx/bitmap.h +++ b/src/app/gfx/bitmap.h @@ -334,4 +334,4 @@ class BitmapManager { } // namespace app } // namespace yaze -#endif // YAZE_APP_GFX_BITMAP_H \ No newline at end of file +#endif // YAZE_APP_GFX_BITMAP_H diff --git a/src/app/rom.h b/src/app/rom.h index 20341481..4f96eb14 100644 --- a/src/app/rom.h +++ b/src/app/rom.h @@ -634,4 +634,4 @@ class SharedRom { } // namespace app } // namespace yaze -#endif \ No newline at end of file +#endif