From 75e57a48e08d79aa5334b2a123b43ca4a016d338 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 9 Nov 2018 10:19:42 +0100 Subject: [PATCH] Microoptimisation --- kitty/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/state.c b/kitty/state.c index 91970d1a4..cb3045b60 100644 --- a/kitty/state.c +++ b/kitty/state.c @@ -395,7 +395,7 @@ PYWRAP1(set_options) { S(macos_hide_from_tasks, PyObject_IsTrue); S(macos_thicken_font, PyFloat_AsDouble); - GA(tab_bar_style); if (!ret) return NULL; + GA(tab_bar_style); global_state.tab_bar_hidden = PyUnicode_CompareWithASCIIString(ret, "hidden") == 0 ? true: false; Py_CLEAR(ret); if (PyErr_Occurred()) return NULL;