Author: adrian
Date: Sat Jan 30 11:21:36 2010
New Revision: 8428

URL: http://svn.slimdevices.com/jive?rev=8428&view=rev
Log:
Bug: 15561
Description: logging to understand reason for labels not being displayed and 
returning a null surface here (most likely cause is that they result in an SDL 
surface width > 16k pixels)

Modified:
    7.5/trunk/squeezeplay/src/squeezeplay/src/ui/jive_font.c

Modified: 7.5/trunk/squeezeplay/src/squeezeplay/src/ui/jive_font.c
URL: 
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/src/ui/jive_font.c?rev=8428&r1=8427&r2=8428&view=diff
==============================================================================
--- 7.5/trunk/squeezeplay/src/squeezeplay/src/ui/jive_font.c (original)
+++ 7.5/trunk/squeezeplay/src/squeezeplay/src/ui/jive_font.c Sat Jan 30 
11:21:36 2010
@@ -244,6 +244,10 @@
        clr.b = (color >> 8) & 0xFF;
 
        srf = TTF_RenderUTF8_Blended(font->ttf, str, clr);
+
+       if (!srf) {
+               LOG_ERROR(log_ui_draw, "render returned error: %s for string: 
%s\n", TTF_GetError(), str);
+       }
 
 #if 0
        // draw text bounding box for debugging

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to