Small mods to allow SGI builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b15ececeb6
commit
bc224390ea
@ -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
|
||||
|
@ -149,7 +149,8 @@ void Fl_Paged_Device::print_window_part(Fl_Window *win, int x, int y, int w, int
|
||||
}
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user