From: Stephen A. Strelzyk [mailto:[EMAIL PROTECTED]]
> "Category.c, Line:575, CategoryTruncateName: name in storage heap".
> [...]  I can continue past the error, and the pop-up trigger is
> updated appropriately.
> --> CategorySetTriggerLabel (triggerP), "PI");

The doc says you you have to pass a modifiable string buffer because it
might need to truncate it.  But "PI" is a non-modifiable constant string
that probably lives in your code segment.  The warning tells you so.  But it
works anyway because "PI" is short enough to not require truncation.

In this case, since you know you are setting a short label that won't need
truncation, you can just use CtlSetLabel directly.

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to