Skip to content

Commit 026c4d5

Browse files
committed
Fixed merge
1 parent 4b1ebc7 commit 026c4d5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/MacVim/MMCoreTextView.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,12 +1086,11 @@ - (void)batchDrawData:(NSData *)data
10861086
surrogatePair = YES;
10871087
g += 2;
10881088
c += 2;
1089-
p += 2;
10901089
} else {
10911090
++g;
10921091
++c;
1093-
++p;
10941092
}
1093+
++p;
10951094
}
10961095

10971096
int count = g-glyphs;
@@ -1113,12 +1112,11 @@ - (void)batchDrawData:(NSData *)data
11131112
if (emojiEnabled && CFStringIsSurrogateHighCharacter(*c)) {
11141113
g += 2;
11151114
c += 2;
1116-
p += 2;
11171115
} else {
11181116
++g;
11191117
++c;
1120-
++p;
11211118
}
1119+
++p;
11221120
}
11231121

11241122
// Figure out which font to draw these chars with.

src/auto/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4361,7 +4361,7 @@ fi
43614361
for ac_header in AvailabilityMacros.h
43624362
do :
43634363
ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
4364-
if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
4364+
if test "x$ac_cv_header_AvailabilityMacros_h" = xyes; then :
43654365
cat >>confdefs.h <<_ACEOF
43664366
#define HAVE_AVAILABILITYMACROS_H 1
43674367
_ACEOF

0 commit comments

Comments
 (0)