aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-07-10 10:38:22 +1000
committernyamatongwe <unknown>2011-07-10 10:38:22 +1000
commitd6680887f548b139a2337277cad67543c0c3ab5f (patch)
tree342d430083fb139dcb6d83c7a206ff70328a6321 /cocoa/PlatCocoa.mm
parent1bcd5c53f4d187b7c3655bd50d7e0f80ed8f8811 (diff)
downloadscintilla-mirror-d6680887f548b139a2337277cad67543c0c3ab5f.tar.gz
Store character set in QuartzTextStyle.
Diffstat (limited to 'cocoa/PlatCocoa.mm')
-rw-r--r--cocoa/PlatCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index 1e81fb6e1..dba386750 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -165,7 +165,7 @@ void Font::Create(const char *faceName, int characterSet, int size, bool bold, b
// Create the font with attributes
QuartzFont font(faceName, strlen(faceName), size, bold, italic);
CTFontRef fontRef = font.getFontID();
- style->setFontRef(fontRef);
+ style->setFontRef(fontRef, characterSet);
}
//--------------------------------------------------------------------------------------------------