aboutsummaryrefslogtreecommitdiffstats
path: root/src/macfont.m
diff options
context:
space:
mode:
authorVibhav Pant2020-08-21 14:04:35 +0530
committerVibhav Pant2020-08-21 14:04:35 +0530
commitf0f8d7b82492e741950c363a03b886965c91b1b0 (patch)
tree19b716830b1ebabc0d7d75949c4e6800c0f104ad /src/macfont.m
parent9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff)
parentc818c29771d3cb51875643b2f6c894073e429dd2 (diff)
downloademacs-feature/native-comp-macos-fixes.tar.gz
emacs-feature/native-comp-macos-fixes.zip
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'src/macfont.m')
-rw-r--r--src/macfont.m6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/macfont.m b/src/macfont.m
index c7430d32772..904814647f9 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -3137,10 +3137,8 @@ macfont_shape (Lisp_Object lgstring, Lisp_Object direction)
3137 wadjust = lround (gl->advance); 3137 wadjust = lround (gl->advance);
3138 if (xoff != 0 || yoff != 0 || wadjust != metrics.width) 3138 if (xoff != 0 || yoff != 0 || wadjust != metrics.width)
3139 { 3139 {
3140 Lisp_Object vec = make_uninit_vector (3); 3140 Lisp_Object vec = CALLN (Fvector, make_fixnum (xoff),
3141 ASET (vec, 0, make_fixnum (xoff)); 3141 make_fixnum (yoff), make_fixnum (wadjust));
3142 ASET (vec, 1, make_fixnum (yoff));
3143 ASET (vec, 2, make_fixnum (wadjust));
3144 LGLYPH_SET_ADJUSTMENT (lglyph, vec); 3142 LGLYPH_SET_ADJUSTMENT (lglyph, vec);
3145 } 3143 }
3146 } 3144 }