Murga-Projects Forums

Full Version: Fl_XPM_Image bug, maybe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Every once in a while an XPM image will contain spaces at the beginning of each data line. I don't understand why, but it happens. Most image editors that support XPM seem to have no trouble with these files, but murgaLua segfaults.

I wonder if this is a bug in FLTK, or murgaLua?
Is it possible that the issue could be with the particular xpm library used to build FLTK for murgaLua?

mikshaw Wrote:
Every once in a while an XPM image will contain spaces at the beginning of each data line. I don't understand why, but it happens. Most image editors that support XPM seem to have no trouble with these files, but murgaLua segfaults.

I wonder if this is a bug in FLTK, or murgaLua?
Is it possible that the issue could be with the particular xpm library used to build FLTK for murgaLua?


XPM support is implemented inside FLTK, but this seems like something I could fix easily in the FLTK code itself ... Let me think about the best way to fix this, either way it's on the list for the next release.

Cheers
JohnM

Reference URL's