summaryrefslogtreecommitdiff
path: root/src/frontend_sdl.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-12-25 10:01:27 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-12-25 10:01:27 +0000
commit9da0b48712c7878a83a479959e5403af6d12e043 (patch)
tree63388e496497988394f4a52930c6fa59ec0b2e9a /src/frontend_sdl.c
parenta3dd14380f910615d937098c8c7d44ed976cafac (diff)
downloadlibnsfb-9da0b48712c7878a83a479959e5403af6d12e043.tar.gz
libnsfb-9da0b48712c7878a83a479959e5403af6d12e043.tar.bz2
make the test app compile again
svn path=/trunk/libnsfb/; revision=9758
Diffstat (limited to 'src/frontend_sdl.c')
-rw-r--r--src/frontend_sdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend_sdl.c b/src/frontend_sdl.c
index cc73f43..d40eb7b 100644
--- a/src/frontend_sdl.c
+++ b/src/frontend_sdl.c
@@ -386,6 +386,7 @@ sdlcopy(nsfb_t *nsfb, nsfb_bbox_t *srcbox, nsfb_bbox_t *dstbox)
nsfb_plot_add_rect(srcbox, dstbox, &allbox);
+ /* clear the cursor if its within the region to be altered */
if ((cursor != NULL) &&
(cursor->plotted == true) &&
(nsfb_plot_bbox_intersect(&allbox, &cursor->loc))) {