From 0de76e531e1161fa7fb0684d839e13fd7c89c731 Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Thu, 5 Mar 2020 14:19:42 -0800 Subject: [PATCH] vty_custom_table_ready: simplify --- cbits/mk_wcwidth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbits/mk_wcwidth.c b/cbits/mk_wcwidth.c index 16c5e01..2db2f6c 100644 --- a/cbits/mk_wcwidth.c +++ b/cbits/mk_wcwidth.c @@ -318,7 +318,7 @@ int vty_activate_custom_table() // Returns whether a custom character width table has been marked ready. int vty_custom_table_ready() { - return ((custom_table != NULL) && custom_table_ready); + return custom_table_ready; } // Deallocate the custom width table.