freebsd-ports/games/monkeybubble/files/patch-src::ui::ui-main.c
Adam Weinberger fc697244cb Update to 0.1.8.
Thanks for edwin for informing me of the new version, and super duper thanks
to marcus for tracking down and fixing a memory bug.
2004-01-17 20:37:00 +00:00

18 lines
496 B
C

--- src/ui/ui-main.c.orig Fri Jan 16 20:28:27 2004
+++ src/ui/ui-main.c Fri Jan 16 20:28:45 2004
@@ -587,6 +587,7 @@
const char *message_format, ...) {
char *message;
va_list args;
+ GtkWidget *dialog;
if (message_format) {
va_start (args, message_format);
@@ -596,7 +597,6 @@
message = NULL;
}
- GtkWidget *dialog;
dialog = gtk_message_dialog_new (transient_parent,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,