Author: matt
Date: 2010-05-05 13:44:50 -0700 (Wed, 05 May 2010)
New Revision: 7592
Log:
Removed debugging output

Modified:
   branches/branch-1.3-STR2158-matt/src/Fl_Text_Display.cxx

Modified: branches/branch-1.3-STR2158-matt/src/Fl_Text_Display.cxx
===================================================================
--- branches/branch-1.3-STR2158-matt/src/Fl_Text_Display.cxx    2010-05-05 
20:24:41 UTC (rev 7591)
+++ branches/branch-1.3-STR2158-matt/src/Fl_Text_Display.cxx    2010-05-05 
20:44:50 UTC (rev 7592)
@@ -230,7 +230,6 @@
   int longest = 0;
   for (int i = 0; i < mNVisibleLines; i++)
     longest = max(longest, measure_vline(i));
-  printf("== %d 
=============================================================\n", longest);
   return longest;
 }
 
@@ -2231,12 +2230,7 @@
   // FIXME: the horizontal scroll bar is still messed up. Clicking the right 
container is not possible.
   int lineLen = vline_length( visLineNum );
   int lineStartPos = mLineStarts[ visLineNum ];
-  if (lineStartPos < 0 || lineLen == 0) return 0;
-  
-  char *s = mBuffer->text_range(lineStartPos, lineStartPos+lineLen);
-  printf("%s\n", s);
-  free(s);
-  
+  if (lineStartPos < 0 || lineLen == 0) return 0;  
   return handle_vline(GET_WIDTH, lineStartPos, lineLen, 0, 0, 0, 0, 0, 0);
 }
 

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

Reply via email to