From 2e7c3caf852497e159b44d1ddd19f02ff64554cf Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Tue, 5 Feb 2013 19:36:51 +0000 Subject: [PATCH] * Source/winlib/WIN32Context.m(-isCompatibleBitmap): Add missing varible. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@36064 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 17 +++++++++++------ Source/winlib/WIN32Context.m | 1 + 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc663dc..ad9eeeb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-01 Fred Kiefer + + * Source/winlib/WIN32Context.m(-isCompatibleBitmap): Add + missing varible. + 2013-02-01 Fred Kiefer * Headers/gsc/GSGState.h @@ -26,14 +31,14 @@ 2013-01-27 Fred Kiefer - * back/Source/gsc/GSContext.m - * back/Source/cairo/CairoContext.m - * back/Source/art/ARTContext.m - * back/Source/xlib/XGContext.m - * back/Source/winlib/WIN32Context.m: Move the bitmap conversion + * Source/gsc/GSContext.m + * Source/cairo/CairoContext.m + * Source/art/ARTContext.m + * Source/xlib/XGContext.m + * Source/winlib/WIN32Context.m: Move the bitmap conversion code from cairo to the gsc class. Add a new method to detect incompatible image formats and implement that for all backends. - * back/Source/winlib/WIN32GState.m (GSCreateBitmap): Improve the + * Source/winlib/WIN32GState.m (GSCreateBitmap): Improve the handling of device black/white colour space. 2013-01-11 Fred Kiefer diff --git a/Source/winlib/WIN32Context.m b/Source/winlib/WIN32Context.m index c14ab71..df77f15 100644 --- a/Source/winlib/WIN32Context.m +++ b/Source/winlib/WIN32Context.m @@ -60,6 +60,7 @@ - (BOOL) isCompatibleBitmap: (NSBitmapImageRep*)bitmap { NSString *colorSpaceName; + NSInteger numColors; if ([bitmap bitmapFormat] != 0) {