]> hackdaworld.org Git - my-code/arm.git/commitdiff
oups, hex prefix was missing!
authorhackbard <hackbard@staubsauger.localdomain>
Wed, 12 Sep 2007 18:02:17 +0000 (20:02 +0200)
committerhackbard <hackbard@staubsauger.localdomain>
Wed, 12 Sep 2007 18:02:17 +0000 (20:02 +0200)
betty/bmp2b.c

index a2badfd719b2f381cfc5007346e539fb6cc7f9be..b61ac4997f08579f37f9be44d6709b69429eadc8 100644 (file)
@@ -141,7 +141,7 @@ int main(int argc,char **argv) {
                                }
                        }
                        else if(stat==CHAR) {
-                               dprintf(fd,"\t%02x,%02x%c\n",buf[0],buf[1],
+                               dprintf(fd,"\t0x%02x,0x%02x%c\n",buf[0],buf[1],
                                        ((page+1==PM)&(col+1==DX))?' ':',');
                        }
                }