diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-12-16 15:40:50 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-12-17 14:45:15 +0100 |
commit | 6e9a5e9e49939daa8097a72dc9210b5e964af4b6 (patch) | |
tree | c4d8855b1a564ab756a74bbb7da8268d073384b6 /Settings.c | |
parent | 14f428a1721a7b179be7b650135ec591c215564e (diff) |
Mark ScreenDefaults const
Diffstat (limited to 'Settings.c')
-rw-r--r-- | Settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ static ScreenSettings* Settings_defaultScreens(Settings* this) { if (this->nScreens) return this->screens[0]; for (unsigned int i = 0; i < Platform_numberOfDefaultScreens; i++) { - ScreenDefaults* defaults = &Platform_defaultScreens[i]; + const ScreenDefaults* defaults = &Platform_defaultScreens[i]; ScreenSettings* settings = Settings_newScreen(this, defaults->name, defaults->columns); settings->sortKey = toFieldIndex(this->dynamicColumns, defaults->sortKey); } |