summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-07 14:37:00 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-07 14:37:22 +0300
commitf455c5ad185f218a58f4b22edc4fc040b75426b6 (patch)
treee6fa10638215252a7caa829c9029d4b9220db3c3 /src
parent5cfc3d6b0ad60a0b8874f09743f262b790a7fe74 (diff)
Cleanup
Diffstat (limited to 'src')
-rw-r--r--src/app.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.c b/src/app.c
index 4365f77d..3b6752de 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1445,8 +1445,8 @@ static void updatePrefsThemeButtons_(iWidget *d) {
1445} 1445}
1446 1446
1447static void updatePrefsPinSplitButtons_(iWidget *d, int value) { 1447static 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
1590iDocumentWidget *newTab_App(const iDocumentWidget *duplicateOf, iBool switchToNew) { 1590iDocumentWidget *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");