DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2689
Version: 1.3-current


The following change seems to fox the case when draw_symbols is off:

Index: src/fl_draw.cxx
===================================================================
--- src/fl_draw.cxx     (Revision 9116)
+++ src/fl_draw.cxx     (Arbeitskopie)
@@ -304,8 +304,7 @@
 
       if (underline_at && underline_at >= buf && underline_at < (buf +
buflen))
        callthis("_",1,xpos+int(fl_width(buf,underline_at-buf)),ypos-desc);
-
-      if (!*e || (*e == '@' && e[1] != '@')) break;
+      if (!*e || (*e == '@' && e[1] != '@' && draw_symbols)) break;
       p = e;
     }
   }



Remark to the test program:
What should the output of the test case 3 look like? @. is not valid
sequence (this is for the browser escapes) so "@.first" will try to draw
the symbol ".first".


Link: http://www.fltk.org/str.php?L2689
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to