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 51e57c81b..84ef9ff1e 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -126,7 +126,7 @@ void Fl_Window::cursor(Fl_Cursor c) {
if (c == FL_CURSOR_DEFAULT)
c = cursor_default;
- if (!i)
+ if (!flx_)
return;
ret = pWindowDriver->set_cursor(c);
@@ -163,7 +163,7 @@ void Fl_Window::cursor(const Fl_RGB_Image *image, int hotx, int hoty) {
return;
}
- if (!i)
+ if (!flx_)
return;
ret = pWindowDriver->set_cursor(image, hotx, hoty);