Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Gtk+ client crash (PR#669)
Home

[Freeciv-Dev] Re: Gtk+ client crash (PR#669)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Gtk+ client crash (PR#669)
From: Lino Mastrodomenico <l.mastrodomenico@xxxxxxxxxxxxxx>
Date: Thu, 25 Jan 2001 10:16:48 -0800 (PST)

The gtk+ client crash when pressing "Darn" in the buy dialog.

This should fix it:
--- citydlg.c.orig      Thu Jan 25 18:56:37 2001
+++ citydlg.c   Thu Jan 25 18:58:56 2001
@@ -1707,7 +1707,7 @@
 
     pdialog->buy_shell=
     popup_message_dialog(pdialog->shell, /*"buynodialog"*/ _("Buy It!"), buf,
-                        _("Darn"), buy_callback_no, 0, 0);
+                        _("Darn"), buy_callback_no, pdialog, 0);
   }
 
   gtk_signal_connect(GTK_OBJECT(pdialog->buy_shell), "delete_event",

-- 
Lino Mastrodomenico
E-mail: l.mastrodomenico@xxxxxxxxxxxxxx

Attachment: diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]