aboutsummaryrefslogtreecommitdiffstats
path: root/src/macfont.m
diff options
context:
space:
mode:
authorPhilipp Stephani2017-05-20 16:49:16 +0200
committerPhilipp Stephani2017-05-21 21:50:04 +0200
commit762be778fcb55bc56286d3abc1bd92a3331423d9 (patch)
treedc7c0e6389edc741aa5eef1f2410aff4ac457c17 /src/macfont.m
parentf04e3d6e204142469f0e0df9309e246b12920b35 (diff)
downloademacs-762be778fcb55bc56286d3abc1bd92a3331423d9.tar.gz
emacs-762be778fcb55bc56286d3abc1bd92a3331423d9.zip
Nextstep: remove some deprecated method calls
* src/nsterm.m (mouseDown:): * src/nsmenu.m (runMenuAt:forFrame:keymaps:): Remove call to deprecated method. The return value is always nil. * src/macfont.m (mac_font_shape_1): Replace call to deprecated method.
Diffstat (limited to 'src/macfont.m')
-rw-r--r--src/macfont.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/macfont.m b/src/macfont.m
index dccb4e6fd02..be8153390d2 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -410,8 +410,9 @@ mac_font_shape_1 (NSFont *font, NSString *string,
410 /* For now we assume the direction is not changed within the 410 /* For now we assume the direction is not changed within the
411 string. */ 411 string. */
412 [layoutManager getGlyphsInRange:(NSMakeRange (glyphIndex, 1)) 412 [layoutManager getGlyphsInRange:(NSMakeRange (glyphIndex, 1))
413 glyphs:NULL characterIndexes:NULL 413 glyphs:NULL
414 glyphInscriptions:NULL elasticBits:NULL 414 properties:NULL
415 characterIndexes:NULL
415 bidiLevels:&bidiLevel]; 416 bidiLevels:&bidiLevel];
416 if (bidiLevel & 1) 417 if (bidiLevel & 1)
417 permutation = xmalloc (sizeof (NSUInteger) * used); 418 permutation = xmalloc (sizeof (NSUInteger) * used);