Re: tb_hyperlink_xpm causes an assert

From: Dom Lachowicz (doml@appligent.com)
Date: Sun Sep 22 2002 - 14:17:02 EDT

  • Next message: Jordi Mas: "Re: tb_hyperlink_xpm causes an assert"

    On Sunday, September 22, 2002, at 11:30 AM, Jordi Mas wrote:

    > UT_ASSERT((nrColors > 0) && (nrColors < 256));
    >
    > At this point, nrColors is equal 295.

    > The graphic is shown in the toolbar and the conversion is done. Should
    > we decrease the number of colours of the XMP, we get rid of the
    > assert, ideas????

    I think that it would be safe to remove the assert. I don't see any
    code in that function that would require the XPM to have fewer than 256
    colors.

    Cheers,
    Dom



    This archive was generated by hypermail 2.1.4 : Sun Sep 22 2002 - 14:21:43 EDT