Fix type in WIN32 source...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2002-11-20 20:55:24 +00:00
parent 2670b41589
commit f0b0e4c00a
+6 -6
View File
@@ -1,5 +1,5 @@
//
// "$Id: fl_draw_image_win32.cxx,v 1.4.2.3.2.3 2002/11/19 16:37:36 easysw Exp $"
// "$Id: fl_draw_image_win32.cxx,v 1.4.2.3.2.4 2002/11/20 20:55:24 easysw Exp $"
//
// WIN32 image drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -144,10 +144,10 @@ static void innards(const uchar *buf, int X, int Y, int W, int H,
#endif
if (mono) {
for (int i=0; i<256; i++) {
bmi.bmiColors[i].rgbBlue = (uchar)(i;
bmi.bmiColors[i].rgbGreen = (uchar)(i;
bmi.bmiColors[i].rgbRed = (uchar)(i;
bmi.bmiColors[i].rgbReserved = (uchar)(i;
bmi.bmiColors[i].rgbBlue = (uchar)i;
bmi.bmiColors[i].rgbGreen = (uchar)i;
bmi.bmiColors[i].rgbRed = (uchar)i;
bmi.bmiColors[i].rgbReserved = (uchar)i;
}
}
bmi.bmiHeader.biWidth = w;
@@ -258,5 +258,5 @@ void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b) {
}
//
// End of "$Id: fl_draw_image_win32.cxx,v 1.4.2.3.2.3 2002/11/19 16:37:36 easysw Exp $".
// End of "$Id: fl_draw_image_win32.cxx,v 1.4.2.3.2.4 2002/11/20 20:55:24 easysw Exp $".
//