Author: greg.ercolano
Date: 2010-09-30 17:30:08 -0700 (Thu, 30 Sep 2010)
New Revision: 7708
Log:
Small mods to allow SGI builds.



Modified:
   branches/branch-1.3/FL/filename.H
   branches/branch-1.3/src/Fl_Paged_Device.cxx

Modified: branches/branch-1.3/FL/filename.H
===================================================================
--- branches/branch-1.3/FL/filename.H   2010-09-30 09:00:56 UTC (rev 7707)
+++ branches/branch-1.3/FL/filename.H   2010-10-01 00:30:08 UTC (rev 7708)
@@ -25,8 +25,9 @@
  *     http://www.fltk.org/str.php
  */
 
-// Xcode on OS X includes files by recursing down into directories.
-// This code catches the cycle and directly includes the required file.
+/* Xcode on OS X includes files by recursing down into directories.
+ * This code catches the cycle and directly includes the required file.
+ */
 #ifdef fl_dirent_h_cyclic_include 
 #  include "/usr/include/dirent.h"
 #endif

Modified: branches/branch-1.3/src/Fl_Paged_Device.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Paged_Device.cxx 2010-09-30 09:00:56 UTC (rev 
7707)
+++ branches/branch-1.3/src/Fl_Paged_Device.cxx 2010-10-01 00:30:08 UTC (rev 
7708)
@@ -149,7 +149,8 @@
   }  
   save_front->show();
   current->set_current();
-  for ( int i = 0, offset = 0; i < count; i++, offset += slice) {
+  offset = 0;
+  for ( int i = 0; i < count; i++, offset += slice) {
     width = slice; 
     if (offset + width > w) width = w - offset;
     fl_draw_image(image_data[i], delta_x + offset, delta_y, width, h, 3);

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

Reply via email to