From 16ea6403a05e1af854ed191b8ad443f5b833ee8e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 30 Aug 2019 09:29:46 +0530 Subject: [PATCH] typo --- src/calibre/utils/cocoa_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/cocoa_wrapper.c b/src/calibre/utils/cocoa_wrapper.c index 31ead5da7f..622b67b7d7 100644 --- a/src/calibre/utils/cocoa_wrapper.c +++ b/src/calibre/utils/cocoa_wrapper.c @@ -77,7 +77,7 @@ disable_cocoa_ui_elements(PyObject *self, PyObject *args) { PyObject *tabbing = Py_True, *menu_items = Py_True; if (!PyArg_ParseTuple(args, "|OO", &tabbing, &menu_items)) return NULL; if (PyObject_IsTrue(tabbing)) disable_window_tabbing(); - if (PyObject_IsTrue(menu_items) remove_cocoa_menu_items(); + if (PyObject_IsTrue(menu_items)) remove_cocoa_menu_items(); Py_RETURN_NONE; }