diff --git a/src/gui/themes.cpp b/src/gui/themes.cpp index fe394a418..c00beda8b 100644 --- a/src/gui/themes.cpp +++ b/src/gui/themes.cpp @@ -188,9 +188,9 @@ int CThemes::Show() void CThemes::rememberOldTheme(bool remember) { if ( remember ) { - memcpy(&oldTheme, &g_settings.theme, sizeof(SNeutrinoTheme)); + oldTheme = g_settings.theme; } else { - memcpy(&g_settings.theme, &oldTheme, sizeof(SNeutrinoTheme)); + g_settings.theme = oldTheme; notifier = new CColorSetupNotifier; notifier->changeNotify(NONEXISTANT_LOCALE, NULL);