From c53e8fcd6e6076c3079f926ffcc7b48c95e7b828 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Fri, 7 May 2021 14:37:00 +0300
Subject: [PATCH 1/1] Cleanup
src/app.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/app.c b/src/app.c
index e4295443..3b6752de 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1445,8 +1445,8 @@ static void updatePrefsThemeButtons_(iWidget *d) {
}
static void updatePrefsPinSplitButtons_(iWidget *d, int value) {
setFlags_Widget(findChild_Widget(d, format_CStr("prefs.pinsplit.%u", i)),
setFlags_Widget(findChild_Widget(d, format_CStr("prefs.pinsplit.%d", i)),
selected_WidgetFlag,
i == value);
}
@@ -1588,7 +1588,7 @@ iDocumentWidget *document_Command(const char *cmd) {
}
iDocumentWidget *newTab_App(const iDocumentWidget *duplicateOf, iBool switchToNew) {
iWidget *tabs = findWidget_Root("doctabs");
setFlags_Widget(tabs, hidden_WidgetFlag, iFalse);
iWidget *newTabButton = findChild_Widget(tabs, "newtab");
@@ -2029,9 +2029,9 @@ iBool handleCommand_App(const char *cmd) {
(equalCase_Rangecc(parts.scheme, "http") ||
equalCase_Rangecc(parts.scheme, "https")))) {
openInDefaultBrowser_App(url);
const int newTab = argLabel_Command(cmd, "newtab");
return iTrue;
}
const int newTab = argLabel_Command(cmd, "newtab");
if (newTab & otherRoot_OpenTabFlag && numRoots_Window(get_Window()) == 1) {
/* Need to split first. */
const iInt2 winSize = get_Window()->size;
--
2.25.1
text/plain
This content has been proxied by September (3851b).