From: hackbard Date: Wed, 12 Sep 2007 18:02:17 +0000 (+0200) Subject: oups, hex prefix was missing! X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9286b8103eef7df95506c831b48ec5c1d6f32f;p=my-code%2Farm.git oups, hex prefix was missing! --- diff --git a/betty/bmp2b.c b/betty/bmp2b.c index a2badfd..b61ac49 100644 --- a/betty/bmp2b.c +++ b/betty/bmp2b.c @@ -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))?' ':','); } }