Skip to content

Commit

Permalink
fix wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Dec 8, 2024
1 parent 53fa3f8 commit 306b728
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions applications/services/desktop/desktop_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 306b728

Please sign in to comment.