changeset 4144:168273c1cc77

[gaim-migrate @ 4362] i agree with faceprint, gaim should never set itself to a negative screen possition committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 26 Dec 2002 15:37:46 +0000
parents 7f5a18b2b9ac
children b658b502b096
files src/buddy.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu Dec 26 00:32:55 2002 +0000
+++ b/src/buddy.c	Thu Dec 26 15:37:46 2002 +0000
@@ -2484,8 +2484,8 @@
 	    y != blist_pos.y ||
 	    event->width != blist_pos.width ||
 	    event->height != blist_pos.height) {
-		blist_pos.x = x;
-		blist_pos.y = y;
+		blist_pos.x = x > 0 ? x : 0;
+		blist_pos.y = y > 0 ? y : 0;
 		blist_pos.width = event->width;
 		blist_pos.height = event->height;
 		save_prefs();