# HG changeset patch # User Sadrul Habib Chowdhury # Date 1211042476 0 # Node ID 307bab4c9e63237c324a004212036422b27f7bca # Parent adde385c7904341b730aee6bd018e0c975753020 Correct the comments, and some position-calculation when the buddylist is not showing. diff -r adde385c7904 -r 307bab4c9e63 finch/libgnt/wms/irssi.c --- 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)