\r
void plat_status_msg_clear(void)\r
{\r
- vout_fbdev_clear_lines(layer_fb, g_screen_height - 8, 8);\r
+ vout_fbdev_clear_lines(layer_fb, g_osd_y, 8);\r
}\r
\r
void plat_status_msg_busy_next(const char *msg)\r
\r
void pnd_restore_layer_data(void)\r
{\r
- short *t = ((short *)fb_copy)[320*240 / 2 + 160];\r
+ short *t = (short *)fb_copy + 320*240 / 2 + 160;\r
\r
// right now this is used by menu, which wants to preview something\r
// so try to get something on the layer.\r