Skip to content

Commit d01ff94

Browse files
committed
Merge pull request #237 from macvim-dev/fix/10_7_build
Fix #236 10.7 build
2 parents f1a6b1f + 8392324 commit d01ff94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MacVim/MMCoreTextView.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@
4444
#define DRAW_CURSOR 0x20
4545
#define DRAW_WIDE 0x40 /* draw wide text */
4646

47-
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
48-
47+
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
4948
#define kCTFontOrientationDefault kCTFontDefaultOrientation
49+
#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
5050

51+
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
5152
static void
5253
CTFontDrawGlyphs(CTFontRef fontRef, const CGGlyph glyphs[],
5354
const CGPoint positions[], UniCharCount count,
@@ -58,7 +59,6 @@
5859
CGContextShowGlyphsAtPositions(context, glyphs, positions, count);
5960
CGFontRelease(cgFontRef);
6061
}
61-
6262
#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
6363

6464
@interface MMCoreTextView (Private)

0 commit comments

Comments
 (0)