mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
Calendar: Make const arrays static as well
This commit is contained in:
parent
dc680d57aa
commit
5744049b74
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ void CalendarWidget::CalendarTile::update_values(Calendar& calendar, int index,
|
|||
m_display_weekday_name = index < 7;
|
||||
|
||||
if (m_display_weekday_name) {
|
||||
const String m_day_names[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
|
||||
static const String m_day_names[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
|
||||
m_weekday_name = m_day_names[index];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue