changeset 187:f5c3e340c5e4

[gaim-migrate @ 197] A few more segfault patches by our fool named Sumner :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 26 Apr 2000 18:27:28 +0000
parents fb9edc06ae2f
children 3f2394cee8d4
files AUTHORS doc/CREDITS src/conversation.c src/dialogs.c
diffstat 4 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/AUTHORS	Wed Apr 26 17:57:09 2000 +0000
+++ b/AUTHORS	Wed Apr 26 18:27:28 2000 +0000
@@ -4,5 +4,6 @@
 Rob Flynn <rob@linuxpimps.com> - Main developer (send patches here)
 Eric Warmenhoven <warmenhoven@yahoo.com> - GNOME Applet Guy
 Syd Logan - Hacker and Designated Driver
+G. Sumner Hayes <IM: SumnerFool> - Security Fixes/Misc Bugs/and Sumnah Foo! 
 Jim Duchek <jimduchek@ou.edu> - Former Maintainer 
 Mark Spencer <markster@marko.net> - El Queso Grande
--- a/doc/CREDITS	Wed Apr 26 17:57:09 2000 +0000
+++ b/doc/CREDITS	Wed Apr 26 18:27:28 2000 +0000
@@ -6,7 +6,7 @@
 
 Rob Flynn    	  <IM: RobFlynn>		rob@linuxpimps.com
 Eric Warmenhoven  <IM: EWarmenhoven>		warmenhoven@yahoo.com
-Syd Loga
+Syd Logan
 Jim Duchek        <IM: zilding>			jimduchek@ou.edu
 Mark Spencer      <IM: markster97>		markster@marko.net
 
@@ -33,4 +33,5 @@
 David <IM: CrazyDavy>
 	The neato-bigger text box
 
+G. Sumner Hayes <IM: SumnerFool> Security Patches
 Brian Ryner for a little make file patch :)
--- a/src/conversation.c	Wed Apr 26 17:57:09 2000 +0000
+++ b/src/conversation.c	Wed Apr 26 18:27:28 2000 +0000
@@ -554,7 +554,7 @@
 	if (s2)
 		pos = s2 - s + strlen(post);
 	else
-		pos=-1;
+		pos=strlen(s);
 	sprintf(debug_buff,"Setting position to %d\n",pos);
 	debug_print(debug_buff);
 	gtk_editable_set_position(GTK_EDITABLE(entry), pos);
--- a/src/dialogs.c	Wed Apr 26 17:57:09 2000 +0000
+++ b/src/dialogs.c	Wed Apr 26 18:27:28 2000 +0000
@@ -1910,6 +1910,11 @@
 
 		colordialog = gtk_color_selection_dialog_new("Select Text Color");
                 colorsel = GTK_COLOR_SELECTION_DIALOG(colordialog)->colorsel;
+		
+		/* XXX: Modality is evil, but we need it until we have
+		 * per-conversation color dialogs */
+
+		gtk_window_set_modal(GTK_WINDOW(colordialog), TRUE);
 
                 gtk_object_set_user_data(GTK_OBJECT(colorsel), entry);