summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-11-18 17:12:55 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-11-18 17:12:55 +0000
commit555f3eb3a75ebbc397178d843aed8a1317b97af6 (patch)
treede185470cd5c86bdcad686685975c814a6032c5f /src
parentef8eaf25b889f65d85a3915b70a4d3869cece5c4 (diff)
Fixed bit reversal table - entry for reversing 1100 was set to 0010
instead of 0011! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Bitmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Bitmap.cxx b/src/Fl_Bitmap.cxx
index 7deae146a..c195aa294 100644
--- a/src/Fl_Bitmap.cxx
+++ b/src/Fl_Bitmap.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Bitmap.cxx,v 1.5 1999/01/07 19:17:16 mike Exp $"
+// "$Id: Fl_Bitmap.cxx,v 1.5.2.1 1999/11/18 17:12:55 mike Exp $"
//
// Bitmap drawing routines for the Fast Light Tool Kit (FLTK).
//
@@ -52,7 +52,7 @@ void Fl_Bitmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
uchar* dest = newarray;
static uchar reverse[16] = /* Bit reversal lookup table */
{ 0x00, 0x88, 0x44, 0xcc, 0x22, 0xaa, 0x66, 0xee,
- 0x11, 0x99, 0x55, 0xdd, 0x22, 0xbb, 0x77, 0xff };
+ 0x11, 0x99, 0x55, 0xdd, 0x33, 0xbb, 0x77, 0xff };
for (int y=0; y < h; y++) {
for (int n = 0; n < w1; n++, src++)
*dest++ = (reverse[*src & 0x0f] & 0xf0) |
@@ -125,5 +125,5 @@ void Fl_Bitmap::label(Fl_Menu_Item* o) {
}
//
-// End of "$Id: Fl_Bitmap.cxx,v 1.5 1999/01/07 19:17:16 mike Exp $".
+// End of "$Id: Fl_Bitmap.cxx,v 1.5.2.1 1999/11/18 17:12:55 mike Exp $".
//