Opened 14 years ago
Closed 14 years ago
#3646 closed defect (fixed)
Make sure msDrawLabel and msDrawLabelCache return values are consistent...
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
...and that the return values are used consistently in the code. Code should return/check MS_SUCCESS/MS_FAILURE. At the moment there is still some reliance on 0/-1.
Steve
Note:
See TracTickets
for help on using tickets.
Fixed in r10822. Turns out drawing code never checks return values on msDrawLabel() and msDrawLabelCache() is only called once. SWF driver needed the most change. Again, only return values were touched, no logic.
Steve