diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 12:38:22 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-10-26 12:38:22 -0400 |
commit | 40e98a2e4915464b9306ab7b0f6feb173de095c5 (patch) | |
tree | 4e987640ae4ad201f029c4e26e51ebc61a4549b1 /apps/plugins/lib/xlcd_draw.c | |
parent | 3237ae4a4ff9296a377ff9194a11038da161208f (diff) | |
download | rockbox-40e98a2e4915464b9306ab7b0f6feb173de095c5.tar.gz rockbox-40e98a2e4915464b9306ab7b0f6feb173de095c5.zip |
Whitespace cleanup on fb_viewport Rewrite
Change-Id: I24aac41c8abecf7b78a44d7f59e842b791be4563
Diffstat (limited to 'apps/plugins/lib/xlcd_draw.c')
-rw-r--r-- | apps/plugins/lib/xlcd_draw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lib/xlcd_draw.c b/apps/plugins/lib/xlcd_draw.c index 0bd1c7a9e2..debdff6f04 100644 --- a/apps/plugins/lib/xlcd_draw.c +++ b/apps/plugins/lib/xlcd_draw.c | |||
@@ -356,10 +356,10 @@ void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, | |||
356 | fb_data *dst; | 356 | fb_data *dst; |
357 | 357 | ||
358 | /* nothing to draw? */ | 358 | /* nothing to draw? */ |
359 | if ((width <= 0) || (height <= 0) || (x >= LCD_WIDTH) || (y >= LCD_HEIGHT) | 359 | if ((width <= 0) || (height <= 0) || (x >= LCD_WIDTH) || (y >= LCD_HEIGHT) |
360 | || (x + width <= 0) || (y + height <= 0)) | 360 | || (x + width <= 0) || (y + height <= 0)) |
361 | return; | 361 | return; |
362 | 362 | ||
363 | /* clipping */ | 363 | /* clipping */ |
364 | if (x < 0) | 364 | if (x < 0) |
365 | { | 365 | { |
@@ -426,10 +426,10 @@ void xlcd_color_bitmap_part(const unsigned char *src, int src_x, int src_y, | |||
426 | fb_data *dst; | 426 | fb_data *dst; |
427 | 427 | ||
428 | /* nothing to draw? */ | 428 | /* nothing to draw? */ |
429 | if ((width <= 0) || (height <= 0) || (x >= LCD_WIDTH) || (y >= LCD_HEIGHT) | 429 | if ((width <= 0) || (height <= 0) || (x >= LCD_WIDTH) || (y >= LCD_HEIGHT) |
430 | || (x + width <= 0) || (y + height <= 0)) | 430 | || (x + width <= 0) || (y + height <= 0)) |
431 | return; | 431 | return; |
432 | 432 | ||
433 | /* clipping */ | 433 | /* clipping */ |
434 | if (x < 0) | 434 | if (x < 0) |
435 | { | 435 | { |