Murga-Projects Forums
Fl_XPM_Image bug, maybe - Printable Version

+- Murga-Projects Forums (http://www.murga-projects.com/forum)
+-- Forum: Project Forums (/forumdisplay.php?fid=1)
+--- Forum: MurgaLua - General (/forumdisplay.php?fid=2)
+--- Thread: Fl_XPM_Image bug, maybe (/showthread.php?tid=254)


Fl_XPM_Image bug, maybe - mikshaw - 11-02-2007 12:59 AM

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?


RE: Fl_XPM_Image bug, maybe - JohnMurga - 11-02-2007 06:29 PM

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