From b394edcaaa8646c016d9c1f5f973cc8f2682e199 Mon Sep 17 00:00:00 2001 From: KiritoDev Date: Mon, 7 Jun 2021 21:02:20 -0500 Subject: [PATCH] Fixed compilation errors --- src/moon/ui/screens/options/main-view.cpp | 2 +- src/pc/controller/controller_sdl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/moon/ui/screens/options/main-view.cpp b/src/moon/ui/screens/options/main-view.cpp index 9fd7d31d..9c916d4e 100644 --- a/src/moon/ui/screens/options/main-view.cpp +++ b/src/moon/ui/screens/options/main-view.cpp @@ -115,7 +115,7 @@ void MoonOptMain::Draw(){ MoonDrawButton(5, GetScreenHeight() - 24, "Change value", basePath, 16, 0, false); } - MoonDrawButton(7, pGetScreenHeight() - 24, this->selected == NULL ? "Select" : "Back", this->selected == NULL ? "textures/moon/controller/a-alt-btn.rgba16" : "textures/moon/controller/b-alt-btn.rgba16", 10, 4, true); + MoonDrawButton(7, GetScreenHeight() - 24, this->selected == NULL ? "Select" : "Back", this->selected == NULL ? "textures/moon/controller/a-alt-btn.rgba16" : "textures/moon/controller/b-alt-btn.rgba16", 10, 4, true); MoonScreen::Draw(); } diff --git a/src/pc/controller/controller_sdl.c b/src/pc/controller/controller_sdl.c index 19080ff2..a630ce89 100644 --- a/src/pc/controller/controller_sdl.c +++ b/src/pc/controller/controller_sdl.c @@ -1,4 +1,4 @@ -.0#ifdef CAPI_SDL2 +#ifdef CAPI_SDL2 #include #include