summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-22 17:13:40 +0000
committerManolo Gouy <Manolo>2016-04-22 17:13:40 +0000
commit5ec684f236e14c40e53f7b67b37048895c61db6b (patch)
tree17ef3bd52170af369313caea6adf1e0dc9a3f6a1 /src
parent3d41fd7c67b62456090cbc641f10b6aa9ec7c388 (diff)
Minor simplification.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx2
-rw-r--r--src/Fl_x.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 9c5e37131..92e0b1897 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -313,7 +313,7 @@ void Fl_WinAPI_System_Driver::add_fd(int n, int events, void (*cb)(FL_SOCKET, vo
}
void Fl_WinAPI_System_Driver::add_fd(int fd, void (*cb)(FL_SOCKET, void*), void* v) {
- Fl::add_fd(fd, FL_READ, cb, v);
+ add_fd(fd, FL_READ, cb, v);
}
void Fl_WinAPI_System_Driver::remove_fd(int n, int events) {
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 48062b32f..92b9be5fc 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -152,7 +152,7 @@ void Fl_X11_System_Driver::add_fd(int n, int events, void (*cb)(int, void*), voi
}
void Fl_X11_System_Driver::add_fd(int n, void (*cb)(int, void*), void* v) {
- Fl::add_fd(n, POLLIN, cb, v);
+ add_fd(n, POLLIN, cb, v);
}
void Fl_X11_System_Driver::remove_fd(int n, int events) {