Mercurial > pidgin.yaz
diff finch/libgnt/wms/irssi.c @ 22990:307bab4c9e63
Correct the comments, and some position-calculation when the buddylist is not showing.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 17 May 2008 16:41:16 +0000 |
parents | 0b71d043a1f1 |
children | f8ffea0d1c65 |
line wrap: on
line diff
--- a/finch/libgnt/wms/irssi.c Sat May 17 16:40:27 2008 +0000 +++ b/finch/libgnt/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)