From bbbf86677588f5ad0a5dec5f7acfa0ab85e3296a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Capello?= Date: Tue, 21 Jun 2022 15:28:04 -0300 Subject: [PATCH] Fix name of define used in ifdefs --- src/app/app.cpp | 6 +++--- src/app/ui/home_view.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/app.cpp b/src/app/app.cpp index 049f36aee..bdaca01c0 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -191,7 +191,7 @@ public: void createDataRecovery(Context* ctx) { #ifdef ENABLE_DATA_RECOVERY -#ifdef ENABLE_TRIAL_VERSION +#ifdef ENABLE_TRIAL_MODE DRM_INVALID{ return; } @@ -213,7 +213,7 @@ public: void searchDataRecoverySessions() { #ifdef ENABLE_DATA_RECOVERY -#ifdef ENABLE_TRIAL_VERSION +#ifdef ENABLE_TRIAL_MODE DRM_INVALID{ return; } @@ -228,7 +228,7 @@ public: void deleteDataRecovery() { #ifdef ENABLE_DATA_RECOVERY -#ifdef ENABLE_TRIAL_VERSION +#ifdef ENABLE_TRIAL_MODE DRM_INVALID{ return; } diff --git a/src/app/ui/home_view.cpp b/src/app/ui/home_view.cpp index 2217d7a61..d44a22cab 100644 --- a/src/app/ui/home_view.cpp +++ b/src/app/ui/home_view.cpp @@ -116,7 +116,7 @@ void HomeView::dataRecoverySessionsAreReady() { #ifdef ENABLE_DATA_RECOVERY -#ifdef ENABLE_TRIAL_VERSION +#ifdef ENABLE_TRIAL_MODE DRM_INVALID{ return; } @@ -270,7 +270,7 @@ void HomeView::onRecoverSprites() { #ifdef ENABLE_DATA_RECOVERY -#ifdef ENABLE_TRIAL_VERSION +#ifdef ENABLE_TRIAL_MODE DRM_INVALID{ return; }