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:
parent
5add80de70
commit
c4ad147d5f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user