libgnt/libgnt

Parents 3c160d032763
Children 8b0b55066565
Correct the comments, and some position-calculation when the buddylist is not showing.
  • +4 -3
    wms/irssi.c
  • --- a/wms/irssi.c Fri May 16 18:52:22 2008 +0000
    +++ b/wms/irssi.c Sat May 17 16:41:16 2008 +0000
    @@ -1,8 +1,8 @@
    /**
    * 1. Buddylist is aligned on the left.
    * 2. The rest of the screen is split into MxN grid for conversation windows.
    - * - M = irssi-split-h in ~/.gntrc:[general]
    - * - N = irssi-split-v in ~/.gntrc:[general]
    + * - M = split-h in ~/.gntrc:[irssi]
    + * - N = split-v in ~/.gntrc:[irssi]
    * - Press alt-shift-k/j/l/h to move the selected window to the frame
    * above/below/left/right of the current frame.
    * 3. All the other windows are always centered.
    @@ -52,7 +52,8 @@
    rx = irssi->buddylistwidth;
    if (hor)
    rx += hor * width;
    - rx++;
    + if (rx)
    + rx++;
    ry = 0;
    if (vert)