qulogic/libgnt

remove an unecessary set of parentheses

2019-10-03, Gary Kramlich
bc6e878f81cf
Parents bb981abe9bed
Children d2fd1d3b22a4
remove an unecessary set of parentheses
  • +1 -1
    wms/irssi.c
  • --- a/wms/irssi.c Thu Oct 03 05:48:01 2019 -0500
    +++ b/wms/irssi.c Thu Oct 03 05:49:39 2019 -0500
    @@ -161,7 +161,7 @@
    name = gnt_widget_get_name(win);
    if (!name || !strstr(name, "conversation-window")) {
    if (!GNT_IS_MENU(win) && !gnt_widget_get_transient(win)) {
    - if ((!name || strcmp(name, "buddylist"))) {
    + if (!name || strcmp(name, "buddylist")) {
    gnt_widget_get_size(win, &w, &h);
    x = (getmaxx(stdscr) - w) / 2;
    y = (getmaxy(stdscr) - h) / 2;