From 7513a5f50bfe00a9eb363ae03e2aa6935f4b2a11 Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Mon, 24 Aug 2015 01:26:43 -0400 Subject: [PATCH] Return to C89 compliance --- src/MacVim/MMCoreTextView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MacVim/MMCoreTextView.m b/src/MacVim/MMCoreTextView.m index bf0245701e..8d73a5044c 100644 --- a/src/MacVim/MMCoreTextView.m +++ b/src/MacVim/MMCoreTextView.m @@ -1076,7 +1076,8 @@ ligatureGlyphsForChars(const unichar *chars, CGGlyph *glyphs, CGPoint *positions } } // fixup relative positioning - for( CFIndex i = 0; i < offset; ++i ) { + CFIndex i; + for( i = 0; i < offset; ++i ) { positions[i].x += refPos.x; positions[i].y += refPos.y; }