mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/themes: no need to memcpy a theme, just assign
Origin commit data
------------------
Commit: 43809987ac
Author: martii <m4rtii@gmx.de>
Date: 2014-01-11 (Sat, 11 Jan 2014)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user