From 9f55b1cc7d7a5ecad1055a0a11362117bf74f131 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 29 Nov 2011 21:22:01 +0000 Subject: Check return value of plotter->lock() svn path=/trunk/netsurf/; revision=13203 --- atari/toolbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'atari/toolbar.c') diff --git a/atari/toolbar.c b/atari/toolbar.c index a5e747295..0b7af6f37 100755 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -415,7 +415,8 @@ void tb_url_redraw( struct gui_window * gw ) plotter->resize(plotter, work.g_w, work.g_h ); plotter->move(plotter, work.g_x, work.g_y ); - plotter->lock( plotter ); + if( plotter->lock( plotter ) == 0 ) + return; todo[0] = work.g_x; todo[1] = work.g_y; -- cgit v1.2.3