if (d_reserve > STR_QUICKBUFF_SIZE)
should be:
if (new_size > STR_QUICKBUFF_SIZE)
I've tried all day to test this simple change but I can't verify that this is the fix. For the life of me I can't compile and run with that simple change. My app crashes when trying to init, while loading DLLs (before any code) which tells me that it's a version-itus problem somewhere. And, with the CEGUI lib taking 15 minutes to compile (and since the source is in String.h which is included in everything and causes THE WORLD to recompile), I can't spend any more time on trying right now w/ my pending demo.
So, the basic issue is that concating two strings has an issue when the concat takes the length of the string from below the STR_QUICKBUFF_SIZE threashold to beyond the STR_QUICKBUFF_SIZE.
Hope this helpful.
cheers,
Chris

