aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.mm
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2011-08-07 19:39:15 +1000
committernyamatongwe <nyamatongwe@gmail.com>2011-08-07 19:39:15 +1000
commit0a1253d3507bec6a9dcab1006822aad3aacf5a58 (patch)
tree3509c11a6fe82cfb29b4acdfdd55b17cfac12901 /cocoa/PlatCocoa.mm
parent59c0c0ebdffd339a2b1ae764358b1d2e2d708ae7 (diff)
downloadscintilla-mirror-0a1253d3507bec6a9dcab1006822aad3aacf5a58.tar.gz
Support a range of weights on Cocoa.
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 1972fa7a9..0965409c1 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -156,7 +156,7 @@ static int FontCharacterSet(Font &f) {
/**
* Creates a CTFontRef with the given properties.
*/
-void Font::Create(const char *faceName, int characterSet, float size, bool bold, bool italic,
+void Font::Create(const char *faceName, int characterSet, float size, int weight, bool italic,
int /* extraFontFlag */)
{
Release();