[AD] cosmetic diffs

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


Some little things (I found it in the home of my brother,
when I was making a tiny-port of Allegro to Turbo C).
-- 
David A. Capello
dacap@xxxxxxxxxx
http://www.davidcapello.com.ar
Index: file.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/file.c,v
retrieving revision 1.31
diff -u -r1.31 file.c
--- file.c	10 Dec 2001 00:05:45 -0000	1.31
+++ file.c	6 Mar 2002 05:00:39 -0000
@@ -1815,7 +1815,7 @@
 
 
 
-/* pack_iputw:
+/* pack_iputl:
  *  Writes a 32 bit long to a file, using intel byte ordering.
  */
 long pack_iputl(long l, PACKFILE *f)
Index: pcx.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/pcx.c,v
retrieving revision 1.6
diff -u -r1.6 pcx.c
--- pcx.c	6 Nov 2001 15:30:46 -0000	1.6
+++ pcx.c	6 Mar 2002 04:55:59 -0000
@@ -85,7 +85,7 @@
    b = create_bitmap_ex(bpp, width, height);
    if (!b) {
       pack_fclose(f);
-      return FALSE;
+      return NULL;
    }
 
    for (y=0; y<height; y++) {       /* read RLE encoded PCX data */
@@ -147,7 +147,7 @@
 
    if (*allegro_errno) {
       destroy_bitmap(b);
-      return FALSE;
+      return NULL;
    }
 
    if (dest_depth != bpp)


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