diff options
Diffstat (limited to 'cocoa')
| -rw-r--r-- | cocoa/PlatCocoa.mm | 2 | ||||
| -rw-r--r-- | cocoa/QuartzTextStyle.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 2b41f476d..9b73b3dcf 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1116,7 +1116,7 @@ void SurfaceImpl::DrawTextTransparent(PRectangle rc, Font &font_, XYPOSITION yba CGColorRef color = CGColorCreateGenericRGB(colour.GetRed()/255.0, colour.GetGreen()/255.0, colour.GetBlue()/255.0, 1.0); QuartzTextStyle *style = TextStyleFromFont(font_); - style->setCTStyleColor(color); + style->setCTStyleColour(color); CGColorRelease(color); diff --git a/cocoa/QuartzTextStyle.h b/cocoa/QuartzTextStyle.h index 8572f5270..57ea6c7a3 100644 --- a/cocoa/QuartzTextStyle.h +++ b/cocoa/QuartzTextStyle.h @@ -47,8 +47,8 @@ public: return styleDict; } - void setCTStyleColor(CGColor *inColor) { - CFDictionarySetValue(styleDict, kCTForegroundColorAttributeName, inColor); + void setCTStyleColour(CGColor *inColour) { + CFDictionarySetValue(styleDict, kCTForegroundColorAttributeName, inColour); } float getAscent() const { |
