diff options
author | Koushik Dutta <koushd@gmail.com> | 2012-11-28 12:12:29 -0800 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-11-28 12:12:29 -0800 |
commit | c908d3b8cc89a49ff71450484f4377344c4937b0 (patch) | |
tree | a28096d54f1dc62bf47fa676892db4f86c021a6f /ui.c | |
parent | 7322ac1f328a4b5916e4641ce55ab924d3b7ecee (diff) | |
download | bootable_recovery-c908d3b8cc89a49ff71450484f4377344c4937b0.zip bootable_recovery-c908d3b8cc89a49ff71450484f4377344c4937b0.tar.gz bootable_recovery-c908d3b8cc89a49ff71450484f4377344c4937b0.tar.bz2 |
Fix bug in ui_copy_image reported in:
https://github.com/CyanogenMod/android_bootable_recovery/commit/107629b02d49fa69b25c414f445e823e1e4bbec3#commitcomment-2219143
Change-Id: Ib3041aba7461d4e139c37e150e63b7d47768563b
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -579,7 +579,7 @@ void ui_init(void) char *ui_copy_image(int icon, int *width, int *height, int *bpp) { pthread_mutex_lock(&gUpdateMutex); - draw_background_locked(gBackgroundIcon[icon]); + draw_background_locked(icon); *width = gr_fb_width(); *height = gr_fb_height(); *bpp = sizeof(gr_pixel) * 8; |