Make use of plot_set_dimensions()

svn path=/trunk/netsurf/; revision=13972
This commit is contained in:
Ole Loots 2012-06-19 23:02:37 +00:00
parent 8611281b2e
commit 1f3d249c15

View File

@ -501,9 +501,8 @@ static void __CDECL evnt_window_icondraw( WINDOW *win, short buff[8], void * dat
tree->ob_height = h;
mt_objc_draw( tree, 0, 8, buff[4], buff[5], buff[6], buff[7], app.aes_global );
} else {
struct rect clip = { 0,0,w,h };
plotter->move( plotter, x, y );
plotter->resize( plotter, w, h );
struct rect clip = { 0,0,w,h };
plot_set_dimensions( x,y,w,h );
plotter->set_clip(plotter, &clip );
plotter->bitmap_resize( plotter, gw->icon, w, h );
plotter->bitmap(