diff options
author | Jens Arnold <amiconn@rockbox.org> | 2009-10-26 01:55:19 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2009-10-26 01:55:19 +0000 |
commit | 17d7f023b724d1ddb8f5e3388318ea6a1c98d707 (patch) | |
tree | 753c007fccc10598fa7bc6f2a21eee7d3a417307 | |
parent | 78c956d73b0318e68245bacfda0d3b6561cbac42 (diff) | |
download | rockbox-17d7f023b724d1ddb8f5e3388318ea6a1c98d707.tar.gz rockbox-17d7f023b724d1ddb8f5e3388318ea6a1c98d707.zip |
Save one branch for archs without conditional execution (e.g. coldfire).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23355 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index 9dd5beb860..6d6a3b2104 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c | |||
@@ -907,9 +907,8 @@ void ICODE_ATTR lcd_bitmap_transparent_part(const fb_data *src, int src_x, | |||
907 | if (data != TRANSPARENT_COLOR) | 907 | if (data != TRANSPARENT_COLOR) |
908 | { | 908 | { |
909 | if (data == REPLACEWITHFG_COLOR) | 909 | if (data == REPLACEWITHFG_COLOR) |
910 | *dst_row = fg; | 910 | data = fg; |
911 | else | 911 | *dst_row = data; |
912 | *dst_row = data; | ||
913 | } | 912 | } |
914 | } | 913 | } |
915 | while (++dst_row < row_end); | 914 | while (++dst_row < row_end); |