]> hackdaworld.org Git - my-code/arm.git/commitdiff
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 e006609d2dfe245d5b3d13d5d1d144543e3e7bc1..0010f15b329bc1616dadbdd8b781d9fa86224018 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 613ddce33f9e548b66d361bf25b05d87da29cf35..6a504079e5e60005c96cbf69d518950f1006d58d 100644 (file)
@@ -1,4 +1,4 @@
-unsigned char default_logo[5120]={
+const unsigned char default_logo[5120]={
        0x00,0x00,
        0x00,0x00,
        0x00,0xe0,