diff options
| author | nyamatongwe <devnull@localhost> | 2011-09-24 22:10:59 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-09-24 22:10:59 +1000 |
| commit | 13c4176ea8389b4fc11fed3e87f4e5439c57443f (patch) | |
| tree | becbb686e7e24d5a4006eea0cf3500cf943fd807 /cocoa/ScintillaCocoa.mm | |
| parent | 70c8f32c4482e04bacae5d4712a34a2df2ddf209 (diff) | |
| parent | d214500ee10fe9830cdc36d0b039d49ef86e26de (diff) | |
| download | scintilla-mirror-13c4176ea8389b4fc11fed3e87f4e5439c57443f.tar.gz | |
Merged fractional text positioning branch.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 089568d66..7927652a7 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -702,7 +702,7 @@ void ScintillaCocoa::Paste(bool forceRectangular) void ScintillaCocoa::CTPaint(void* gc, NSRect rc) { #pragma unused(rc) - Surface *surfaceWindow = Surface::Allocate(); + Surface *surfaceWindow = Surface::Allocate(SC_TECHNOLOGY_DEFAULT); if (surfaceWindow) { surfaceWindow->Init(gc, wMain.GetID()); surfaceWindow->SetUnicodeMode(SC_CP_UTF8 == ct.codePage); @@ -1251,7 +1251,7 @@ void ScintillaCocoa::SyncPaint(void* gc, PRectangle rc) rcPaint = rc; PRectangle rcText = GetTextRectangle(); paintingAllText = rcPaint.Contains(rcText); - Surface *sw = Surface::Allocate(); + Surface *sw = Surface::Allocate(SC_TECHNOLOGY_DEFAULT); if (sw) { sw->Init(gc, wMain.GetID()); |
