summaryrefslogtreecommitdiff
path: root/src/fl_cursor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_cursor.cxx')
-rw-r--r--src/fl_cursor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx
index 9b9c9b9e2..30f523c26 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -131,7 +131,7 @@ void Fl_Window::cursor(Fl_Cursor c) {
if (!i)
return;
- ret = i->set_cursor(c);
+ ret = pWindowDriver->set_cursor(c);
if (ret)
return;
@@ -168,7 +168,7 @@ void Fl_Window::cursor(const Fl_RGB_Image *image, int hotx, int hoty) {
if (!i)
return;
- ret = i->set_cursor(image, hotx, hoty);
+ ret = pWindowDriver->set_cursor(image, hotx, hoty);
if (ret)
return;