fix C macro that lead to memory corruption!

svn: r6148
This commit is contained in:
Matthew Flatt 2007-05-04 23:27:45 +00:00
parent 4744c559b0
commit 52bbd95ba7

View File

@ -79,7 +79,7 @@ static void memmove(char *dest, char *src, long size)
extern void *wxMallocAtomicIfPossible(size_t s);
#define STRALLOC(n) new WXGC_ATOMIC wxchar[n]
#define TRY_STRALLOC(n) (wxchar *)wxMallocAtomicIfPossible(n * sizeof(wxchar))
#define TRY_STRALLOC(n) (wxchar *)wxMallocAtomicIfPossible((n) * sizeof(wxchar))
#define STRFREE(s) /* empty */
wxchar wx_empty_wxstr[1] = {0};