diff options
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"); |