From 306b7285879abe05b1e3e7bfdca6442c86161b94 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:39:34 +0300 Subject: [PATCH] fix wrong order --- applications/services/desktop/desktop_settings.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/applications/services/desktop/desktop_settings.c b/applications/services/desktop/desktop_settings.c index 45b9e5ee3b..7a99dd3653 100644 --- a/applications/services/desktop/desktop_settings.c +++ b/applications/services/desktop/desktop_settings.c @@ -58,13 +58,11 @@ void desktop_settings_load(DesktopSettings* settings) { settings->dummy_mode = settings_v14->dummy_mode; settings->display_clock = settings_v14->display_clock; memcpy( - settings_v14->favorite_apps, settings->favorite_apps, - sizeof(settings_v14->favorite_apps)); + settings_v14->favorite_apps, + sizeof(settings->favorite_apps)); memcpy( - settings_v14->dummy_apps, - settings->dummy_apps, - sizeof(settings_v14->dummy_apps)); + settings->dummy_apps, settings_v14->dummy_apps, sizeof(settings->dummy_apps)); } free(settings_v14);