What do you (Mike?) think about changing the clear method of
UT_Stringbuf from

        if (m_psz)
        {
                delete[] m_psz;
                m_psz = 0;
                m_pEnd = 0;
                m_size = 0;
        }

to only

        if (m_psz)
                m_size = 0;

?

Of course, we should change too the destructor (something like

        clear();
        delete[] m_psz;

will do the work).

Cheers,

--
Joaquín Cuenca Abela
[EMAIL PROTECTED]

Reply via email to