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:
Matthias Melcher 2007-03-06 19:21:41 +00:00
parent 5add80de70
commit c4ad147d5f

View File

@ -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);