diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-07 14:37:00 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-07 14:37:22 +0300 |
commit | f455c5ad185f218a58f4b22edc4fc040b75426b6 (patch) | |
tree | e6fa10638215252a7caa829c9029d4b9220db3c3 /src | |
parent | 5cfc3d6b0ad60a0b8874f09743f262b790a7fe74 (diff) |
Cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1445,8 +1445,8 @@ static void updatePrefsThemeButtons_(iWidget *d) { | |||
1445 | } | 1445 | } |
1446 | 1446 | ||
1447 | static void updatePrefsPinSplitButtons_(iWidget *d, int value) { | 1447 | static void updatePrefsPinSplitButtons_(iWidget *d, int value) { |
1448 | for (size_t i = 0; i < 3; i++) { | 1448 | for (int i = 0; i < 3; i++) { |
1449 | setFlags_Widget(findChild_Widget(d, format_CStr("prefs.pinsplit.%u", i)), | 1449 | setFlags_Widget(findChild_Widget(d, format_CStr("prefs.pinsplit.%d", i)), |
1450 | selected_WidgetFlag, | 1450 | selected_WidgetFlag, |
1451 | i == value); | 1451 | i == value); |
1452 | } | 1452 | } |
@@ -1588,7 +1588,7 @@ iDocumentWidget *document_Command(const char *cmd) { | |||
1588 | } | 1588 | } |
1589 | 1589 | ||
1590 | iDocumentWidget *newTab_App(const iDocumentWidget *duplicateOf, iBool switchToNew) { | 1590 | iDocumentWidget *newTab_App(const iDocumentWidget *duplicateOf, iBool switchToNew) { |
1591 | iApp *d = &app_; | 1591 | //iApp *d = &app_; |
1592 | iWidget *tabs = findWidget_Root("doctabs"); | 1592 | iWidget *tabs = findWidget_Root("doctabs"); |
1593 | setFlags_Widget(tabs, hidden_WidgetFlag, iFalse); | 1593 | setFlags_Widget(tabs, hidden_WidgetFlag, iFalse); |
1594 | iWidget *newTabButton = findChild_Widget(tabs, "newtab"); | 1594 | iWidget *newTabButton = findChild_Widget(tabs, "newtab"); |