Mercurial > dwindows
comparison win/dw.c @ 1310:47dbe605a03f
Removed an unused variable in the new code on OS/2 and Windows.
Also fixed EMX/gcc building due to a missing return definition.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 04 Nov 2011 05:06:52 +0000 |
parents | e73c41653de8 |
children | c969db49606e |
comparison
equal
deleted
inserted
replaced
1309:e73c41653de8 | 1310:47dbe605a03f |
---|---|
4823 } | 4823 } |
4824 | 4824 |
4825 /* Internal function to make sure menu ID isn't in use */ | 4825 /* Internal function to make sure menu ID isn't in use */ |
4826 int _menuid_allocated(int id) | 4826 int _menuid_allocated(int id) |
4827 { | 4827 { |
4828 SignalHandler *prev = NULL, *tmp = Root; | 4828 SignalHandler *tmp = Root; |
4829 | 4829 |
4830 while(tmp) | 4830 while(tmp) |
4831 { | 4831 { |
4832 if(tmp->id == id) | 4832 if(tmp->id == id) |
4833 return TRUE; | 4833 return TRUE; |