projects
/
fishladder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cross compile build script
[fishladder.git]
/
fontcomp.c
diff --git
a/fontcomp.c
b/fontcomp.c
index 73046b80ec1c0d9801d42309e4a54ff829bf5fbb..c2d26ac68a1e3c65c97d232027b141282fd23d0d 100644
(file)
--- a/
fontcomp.c
+++ b/
fontcomp.c
@@
-39,7
+39,7
@@
int main( int argc, char *argv[] )
u32 buff = 0;
for( int b = 31; b >= 0; b-- )
{
- buff |= data[pixel*4
+3
]>128?0x1<<b:0;
+ buff |= data[pixel*4]>128?0x1<<b:0;
pixel++;
if( pixel >= pixel_max )
@@
-56,6
+56,8
@@
int main( int argc, char *argv[] )
free(data);
fclose(output);
+
+ vg_success( "Font compiled successfully\n" );
}
else
{