Doh. Thanks :)
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Smith
Sent: Wednesday, July 11, 2001 9:02 AM
To: Palm Developer Forum
Subject: Re: StrCopy bug?
"Jeremy Nuss" <[EMAIL PROTECTED]> wrote:
> str[i] = (char*)MemPtrNew(StrLen(ptr->qual));
> StrCopy(str[i], ptr->qual);
You forgot to allocate space for the trailing null.
--
-M- [EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/