[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Opal patch
From: |
Philippe Roussel |
Subject: |
Opal patch |
Date: |
Thu, 19 Sep 2013 07:21:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
Scanning opal build warnings I found at least 2 that look like real
bugs, see the following patch.
Philippe
Index: Source/OpalGraphics/CGImage.m
===================================================================
--- Source/OpalGraphics/CGImage.m (révision 37110)
+++ Source/OpalGraphics/CGImage.m (copie de travail)
@@ -158,7 +158,7 @@
self->surf = NULL;
self->bitmapInfo = aBitmapInfo;
self->cspace = CGColorSpaceRetain(aColorspace);
- self->intent = intent;
+ self->intent = anIntent;
return self;
}
Index: Source/OpalText/CTLine.m
===================================================================
--- Source/OpalText/CTLine.m (révision 37110)
+++ Source/OpalText/CTLine.m (copie de travail)
@@ -30,7 +30,7 @@
- (id)initWithRuns: (NSArray*)runs
{
- if ((self == [super init]))
+ if ((self = [super init]))
{
_runs = [runs retain];
}
--
Letting the Internet be rewired by bureaucrats would be like handing a
Stradivarius to a gorilla. L. Gordon Crovitz
- Opal patch,
Philippe Roussel <=