[AD] 4.3 patch

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


Since commits list is not working, I just applied this patch to fix a
trivial crash:

Index: src/display.c
===================================================================
--- src/display.c       (revision 7375)
+++ src/display.c       (working copy)
@@ -1241,11 +1241,11 @@
             else
                new_display->page[c] = create_bitmap(w, h);

-         /* Check for succes */
+         /* Check for success */
          if (new_display->page[0]) {
             for (c=0; c<new_display->num_pages; c++)
                clear_bitmap(new_display->page[c]);
-            al_show_video_bitmap(new_display, new_display->page[1]);
+            al_show_video_bitmap(new_display, new_display->page[0]);
          }
          else {
             for (c=0; c<new_display->num_pages; c++)


-- 
Elias Pschernig





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