make the logo constant
authorhackbard <hackbard@staubsauger.localdomain>
Fri, 14 Sep 2007 22:19:54 +0000 (00:19 +0200)
committerhackbard <hackbard@staubsauger.localdomain>
Fri, 14 Sep 2007 22:19:54 +0000 (00:19 +0200)
betty/bmp2b.c
betty/default_logo.h

index e006609..0010f15 100644 (file)
@@ -92,7 +92,7 @@ int main(int argc,char **argv) {
        }
 
        if(stat==CHAR)
-               dprintf(fd,"unsigned char default_logo[%d]={\n",DX*PM*2);
+               dprintf(fd,"const unsigned char default_logo[%d]={\n",DX*PM*2);
 
        for(page=0;page<PM;page++) {
                for(col=0;col<DX;col++) {
index 613ddce..6a50407 100644 (file)
@@ -1,4 +1,4 @@
-unsigned char default_logo[5120]={
+const unsigned char default_logo[5120]={
        0x00,0x00,
        0x00,0x00,
        0x00,0xe0,