vty_custom_table_ready: simplify
commit0de76e531e1161fa7fb0684d839e13fd7c89c731
authorJonathan Daugherty <cygnus@foobox.com>
dateThu 5 Mar 2020, 14:19 (7 years ago)
parentb988b68
cbits/mk_wcwidth.c+1−1
@@ -318,7 +318,7 @@ int vty_activate_custom_table()
318318// Returns whether a custom character width table has been marked ready.
319319int vty_custom_table_ready()
320320{
321− return ((custom_table != NULL) && custom_table_ready);
321+ return custom_table_ready;
322322}
323323
324324// Deallocate the custom width table.