mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 22:36:19 +08:00
Fixed previous Fl::awake() commit for UNix and OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -261,7 +261,7 @@ void* Fl::thread_message() {
|
||||
static void thread_awake_cb(int fd, void*) {
|
||||
read(fd, &thread_message_, sizeof(void*));
|
||||
if (Fl::awake_cb) (*Fl::awake_cb)(thread_message_);
|
||||
Fl_Awake_Handler *func;
|
||||
Fl_Awake_Handler func;
|
||||
void *data;
|
||||
while (Fl::get_awake_handler_(func, data)==0) {
|
||||
(*func)(data);
|
||||
|
||||
Reference in New Issue
Block a user