summaryrefslogtreecommitdiff
path: root/src/fl_draw_image_mac.cxx
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2006-01-20 02:00:49 +0000
committerAaron M. Ucko <ucko@debian.org>2006-01-20 02:00:49 +0000
commita7324bb0c2a26bb02be3362dff2126dc6c6af3a4 (patch)
tree64e6a26efbbc09e90a07afcf91a4b968d906955e /src/fl_draw_image_mac.cxx
parent561e57f79c1c365a2ff6c31fc32f36ba70d21cae (diff)
Load /tmp/.../fltk1.1-1.1.7 into
branches/upstream/current.
Diffstat (limited to 'src/fl_draw_image_mac.cxx')
-rw-r--r--src/fl_draw_image_mac.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/fl_draw_image_mac.cxx b/src/fl_draw_image_mac.cxx
index 8034c8d..d5af7f8 100644
--- a/src/fl_draw_image_mac.cxx
+++ b/src/fl_draw_image_mac.cxx
@@ -1,9 +1,9 @@
//
-// "$Id: fl_draw_image_mac.cxx,v 1.1.2.11 2004/09/10 00:07:52 matthiaswm Exp $"
+// "$Id: fl_draw_image_mac.cxx 4288 2005-04-16 00:13:17Z mike $"
//
// MacOS image drawing code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2004 by Bill Spitzak and others.
+// Copyright 1998-2005 by Bill Spitzak and others.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
@@ -20,7 +20,9 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA.
//
-// Please report all bugs and problems to "fltk-bugs@fltk.org".
+// Please report all bugs and problems on the following page:
+//
+// http://www.fltk.org/str.php
//
////////////////////////////////////////////////////////////////
@@ -165,8 +167,8 @@ static void innards(const uchar *buf, int X, int Y, int W, int H,
}
}
#elif defined(__APPLE_QUARTZ__)
- void *array = buf;
- uchar *tmpBuf;
+ const void *array = buf;
+ uchar *tmpBuf = 0;
if (cb) {
tmpBuf = new uchar[ H*W*delta ];
for (int i=0; i<H; i++) {
@@ -264,5 +266,5 @@ void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b) {
}
//
-// End of "$Id: fl_draw_image_mac.cxx,v 1.1.2.11 2004/09/10 00:07:52 matthiaswm Exp $".
+// End of "$Id: fl_draw_image_mac.cxx 4288 2005-04-16 00:13:17Z mike $".
//