Mercurial > dwindows
comparison os2/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 | 5f3ce2b1e82d |
comparison
equal
deleted
inserted
replaced
1309:e73c41653de8 | 1310:47dbe605a03f |
---|---|
4698 } | 4698 } |
4699 | 4699 |
4700 /* Internal function to make sure menu ID isn't in use */ | 4700 /* Internal function to make sure menu ID isn't in use */ |
4701 int _menuid_allocated(int id) | 4701 int _menuid_allocated(int id) |
4702 { | 4702 { |
4703 SignalHandler *prev = NULL, *tmp = Root; | 4703 SignalHandler *tmp = Root; |
4704 | 4704 |
4705 while(tmp) | 4705 while(tmp) |
4706 { | 4706 { |
4707 if(tmp->id == id) | 4707 if(tmp->id == id) |
4708 return TRUE; | 4708 return TRUE; |
10505 *DriverName++ = *p++; | 10505 *DriverName++ = *p++; |
10506 *DriverName = '\0'; | 10506 *DriverName = '\0'; |
10507 return TRUE; | 10507 return TRUE; |
10508 } | 10508 } |
10509 | 10509 |
10510 /* EMX Doesn't seem to define this? */ | |
10511 #ifndef NERR_BufTooSmall | |
10512 #define NERR_BufTooSmall 2123 | |
10513 #endif | |
10514 | |
10510 /* | 10515 /* |
10511 * Creates a new print object. | 10516 * Creates a new print object. |
10512 * Parameters: | 10517 * Parameters: |
10513 * jobname: Name of the print job to show in the queue. | 10518 * jobname: Name of the print job to show in the queue. |
10514 * flags: Flags to initially configure the print object. | 10519 * flags: Flags to initially configure the print object. |