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

[STR New]

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


I think it might be a bug in fluid, and I think this might fix it..?

Might be good if someone familiar with fluid and/or the Code Block
function could check this.

I get nicely indented code from the Code Block function when I
apply this change:

# svn diff
Index: Fl_Function_Type.cxx
===================================================================
--- Fl_Function_Type.cxx        (revision 8749)
+++ Fl_Function_Type.cxx        (working copy)
@@ -552,7 +552,7 @@
 }
 
 void Fl_CodeBlock_Type::write_code2() {
-  indentation += 2;
+  indentation -= 2;
   if (after) write_c("%s} %s\n", indent(), after);
   else write_c("%s}\n", indent());
 }


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

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

Reply via email to