diff options
Diffstat (limited to 'tools/bmp2rb.c')
-rw-r--r-- | tools/bmp2rb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/bmp2rb.c b/tools/bmp2rb.c index 478badefd7..aa23d45830 100644 --- a/tools/bmp2rb.c +++ b/tools/bmp2rb.c | |||
@@ -290,7 +290,7 @@ int transform_bitmap(const struct RGBQUAD *src, int width, int height, | |||
290 | 290 | ||
291 | switch (format) | 291 | switch (format) |
292 | { | 292 | { |
293 | case 0: /* Archos recorders, Ondio, Gmini 120/SP, Iriver H1x0 monochrome */ | 293 | case 0: /* Archos recorders, Ondio, Iriver H1x0 monochrome */ |
294 | dst_w = width; | 294 | dst_w = width; |
295 | dst_h = (height + 7) / 8; | 295 | dst_h = (height + 7) / 8; |
296 | dst_d = 8; | 296 | dst_d = 8; |
@@ -351,7 +351,7 @@ int transform_bitmap(const struct RGBQUAD *src, int width, int height, | |||
351 | 351 | ||
352 | switch (format) | 352 | switch (format) |
353 | { | 353 | { |
354 | case 0: /* Archos recorders, Ondio, Gmini 120/SP, Iriver H1x0 b&w */ | 354 | case 0: /* Archos recorders, Ondio, Iriver H1x0 b&w */ |
355 | for (row = 0; row < height; row++) | 355 | for (row = 0; row < height; row++) |
356 | for (col = 0; col < width; col++) | 356 | for (col = 0; col < width; col++) |
357 | { | 357 | { |
@@ -528,7 +528,7 @@ void print_usage(void) | |||
528 | "\t-h <dir> Create header file in <dir>/<id>.h\n" | 528 | "\t-h <dir> Create header file in <dir>/<id>.h\n" |
529 | "\t-a Show ascii picture of bitmap\n" | 529 | "\t-a Show ascii picture of bitmap\n" |
530 | "\t-f <n> Generate destination format n, default = 0\n" | 530 | "\t-f <n> Generate destination format n, default = 0\n" |
531 | "\t 0 Archos recorder, Ondio, Gmini 120/SP, Iriver H1x0 mono\n" | 531 | "\t 0 Archos recorder, Ondio, Iriver H1x0 mono\n" |
532 | "\t 1 Archos player graphics library\n" | 532 | "\t 1 Archos player graphics library\n" |
533 | "\t 2 Iriver H1x0 4-grey\n" | 533 | "\t 2 Iriver H1x0 4-grey\n" |
534 | "\t 3 Canonical 8-bit greyscale\n" | 534 | "\t 3 Canonical 8-bit greyscale\n" |