Yair K. wrote:
> Hi,
>
>   Clive found that an strdup which I removed earlier is neccesary for the 
> strings in the pull-down comboxes to appear correctly (strangely, I have no 
> problems without it). This patch adds it back.
>   
The strdup() calls are required because showenum() returns a pointer to 
a static buffer. Subsequent calls wipe out the earlier returned values 
unless they are copied somewhere else.

This fix is now in the hg version.

Best regards,

Hannu
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to