pidgin: 4981895b: Correct the comments, and some position-...

sadrul at pidgin.im sadrul at pidgin.im
Sat May 17 12:45:53 EDT 2008


-----------------------------------------------------------------
Revision: 4981895b0b7aadf94bcca49e105176b49f71d50d
Ancestor: c0baa224f4d9a5bdcb9a60e6bcc5c47fe13151e2
Author: sadrul at pidgin.im
Date: 2008-05-17T16:41:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4981895b0b7aadf94bcca49e105176b49f71d50d

Modified files:
        finch/libgnt/wms/irssi.c

ChangeLog: 

Correct the comments, and some position-calculation when the buddylist is not showing.

-------------- next part --------------
============================================================
--- finch/libgnt/wms/irssi.c	eba3250d82d51cd52a74c7803e4c426a5ea79104
+++ finch/libgnt/wms/irssi.c	a836c2fa54ef4d965f5ba1e479bc575830b13315
@@ -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 @@ get_xywh_for_frame(Irssi *irssi, int hor
 	rx = irssi->buddylistwidth;
 	if (hor)
 		rx += hor * width;
-	rx++;
+	if (rx)
+		rx++;
 
 	ry = 0;
 	if (vert)


More information about the Commits mailing list