Author: manolo Date: 2010-04-13 12:56:23 -0700 (Tue, 13 Apr 2010) New Revision: 7495 Log: gl_draw.cxx (Mac-specific): fixed another bad use of non null-terminated string.
Modified: branches/branch-1.3/src/gl_draw.cxx Modified: branches/branch-1.3/src/gl_draw.cxx =================================================================== --- branches/branch-1.3/src/gl_draw.cxx 2010-04-13 17:58:30 UTC (rev 7494) +++ branches/branch-1.3/src/gl_draw.cxx 2010-04-13 19:56:23 UTC (rev 7495) @@ -493,7 +493,7 @@ GLfloat colors[4]; glGetFloatv(GL_CURRENT_COLOR, colors); fl_color(colors[0]*255, colors[1]*255, colors[2]*255); - fl_draw(str, 0, fifo[current].height - fl_descent()); + fl_draw(str, n, 0, fifo[current].height - fl_descent()); //put this bitmap in a texture glPushAttrib(GL_TEXTURE_BIT); glBindTexture (GL_TEXTURE_RECTANGLE_EXT, fifo[current].texName); _______________________________________________ fltk-commit mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-commit
