in xap_UnixFontXLFD.cpp: around line 99

Change: gchar **fields = g_strsplit(xlfd, "-", 14); to
         gchar **fields = g_strsplit(xlfd, "-", 15);

See: http://developer.gnome.org/doc/API/2.0/glib/glib-changes-2-0.html

" g_strsplit() has been fixed to:

    * include trailing empty tokens, rather than stripping them
    * split into a maximum of max_tokens tokens, rather than max_tokens + 1

Code depending on either of these bugs will need to be fixed."

This prevents an assert on startup. Not sure if there is any bad affect at 
runtime (there was none I could see, but the information was definitely being 
read incorrectly).

Regards,

William Lachance
[EMAIL PROTECTED]

Reply via email to