Re: [AD] Two 3.9.31 patches

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Mon, Jan 31, 2000 at 09:23:27PM +0100, Erik Sandberg wrote:
> You forgot to attach the files :-)

Oops, I was being nagged to go out for some food at the time. :)
They are (will be) attached to this email.

Shawn Hargreaves wrote:
> George Foot <george.foot@xxxxxxxxxx> writes:
> > Hi, here are two patches for things that didn't make it into
> > 3.9.31, in case they were overlooked.
> 
> They must be very small patches :-)

Maybe that's why they were overlooked. :)

> A useful feature that should be added to mutt: scan outgoing messages for 
> any text containing the phrases "here are" or "is attached", and complain 
> if it sees these in a message without any attachment :-)

Either that or I need a secretary. :)  I think the main problem
is that it encourages you to write the email before choosing
attachments.  ":wq\ny" gets typed rather automatically by me.

George

--- allegro-3.9.31-0/makefile.in	Sun Jan 30 21:46:54 2000
+++ allegro-3.9.31/makefile.in	Mon Jan 31 19:49:00 2000
@@ -259,7 +259,10 @@
 
 install-headers:
 	$(mkinstalldirs) $(includedir)/allegro
-	$(INSTALL_DATA) $(srcdir)/include/allegro.h $(includedir)/
+	@for file in $(srcdir)/include/*.h; do \
+	  echo Installing $$file to $(includedir); \
+	  $(INSTALL_DATA) $$file $(includedir)/; \
+	done
 	$(INSTALL_DATA) $(CONFIG_H) $(includedir)/allegro/
 	@for file in $(srcdir)/include/allegro/*.h; do \
 	  echo Installing $$file to $(includedir)/allegro; \
--- allegro-3.9.31-0/src/win/wwnd.c	Sun Jan 30 21:46:58 2000
+++ allegro-3.9.31/src/win/wwnd.c	Mon Jan 31 19:35:20 2000
@@ -28,6 +28,7 @@
 static HWND user_wnd = NULL;
 static WNDPROC user_wnd_proc = NULL;
 static HANDLE wnd_thread = NULL;
+static HWND (*wnd_create_proc)(WNDPROC) = NULL;
 int wnd_x = 0;
 int wnd_y = 0;
 int wnd_width = 0;
@@ -67,6 +68,10 @@
    return (user_wnd ? user_wnd : allegro_wnd);
 }
 
+void win_set_wnd_create_proc(HWND proc)
+{
+        wnd_create_proc = proc;
+}
 
 
 /* wnd_call_proc:
@@ -300,7 +305,10 @@
    win_init_thread();
 
    /* setup window */
-   allegro_wnd = create_directx_window();
+   if (!wnd_create_proc)
+        allegro_wnd = create_directx_window();
+   else
+        allegro_wnd = wnd_create_proc(directx_wnd_proc);
    if (allegro_wnd == NULL)
       goto Error;
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/