From fb9d7a4071de6f24fb59ec22c7badd1c68f9392c Mon Sep 17 00:00:00 2001 From: "Jerry.Kirk%Nexwarecorp.com" Date: Wed, 9 Jun 1999 12:12:03 +0000 Subject: [PATCH] -Bug 6648 Added NTO define for color byte ordering. NTO defines - XP_UNIX but it prefers the colors in the same order as Windows and Mac --- modules/libimg/src/color.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/libimg/src/color.cpp b/modules/libimg/src/color.cpp index 432827d59eae..d5928801b22c 100644 --- a/modules/libimg/src/color.cpp +++ b/modules/libimg/src/color.cpp @@ -21,7 +21,7 @@ Includes dithering for B&W displays, but not dithering for PseudoColor displays which can be found in dither.c. - $Id: color.cpp,v 3.10 1999/06/03 18:11:47 mcmullen%netscape.com Exp $ + $Id: color.cpp,v 3.11 1999/06/09 12:12:03 Jerry.Kirk%Nexwarecorp.com Exp $ */ @@ -500,7 +500,7 @@ ConvertRGBToRGB24(il_container *ic, if (!mask) { while (sp < end) { -#if !defined(XP_UNIX) +#if !defined(XP_UNIX) || defined(NTO) out[2] = sp[0]; out[1] = sp[1]; out[0] = sp[2]; @@ -516,7 +516,7 @@ ConvertRGBToRGB24(il_container *ic, while (sp < end) { if (*mask++) { -#if !defined(XP_UNIX) +#if !defined(XP_UNIX) || defined(NTO) out[2] = sp[0]; out[1] = sp[1]; out[0] = sp[2];