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

Change History (1)

comment:1 by sdlime, 14 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.