From 1f3d249c157cf731bc723f865c3721f684a408a5 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 19 Jun 2012 23:02:37 +0000 Subject: Make use of plot_set_dimensions() svn path=/trunk/netsurf/; revision=13972 --- atari/browser_win.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'atari/browser_win.c') diff --git a/atari/browser_win.c b/atari/browser_win.c index 68cce8008..4719230d3 100755 --- a/atari/browser_win.c +++ b/atari/browser_win.c @@ -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( -- cgit v1.2.3