aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-03-12 15:43:14 +0800
committerPo Lu2023-03-12 15:43:14 +0800
commita17380e80d162dbc15110ce84ff2e12e11e0623b (patch)
treef49db962b2f3a2b31d143e609ada59544ddc7fb3 /src
parentb0abc50218696b7b5db6589d73c49fdb64b3e289 (diff)
downloademacs-a17380e80d162dbc15110ce84ff2e12e11e0623b.tar.gz
emacs-a17380e80d162dbc15110ce84ff2e12e11e0623b.zip
Update Android port
* java/org/gnu/emacs/EmacsOpenActivity.java (EmacsOpenActivity) (onCancel): New function. (displayFailureDialog): Handle dialog cancellation. * src/sfntfont.c (sfnt_parse_languages): Look for SLNG tag if DLNG is not present.
Diffstat (limited to 'src')
-rw-r--r--src/sfntfont.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sfntfont.c b/src/sfntfont.c
index e8e437072d9..ab92def0aff 100644
--- a/src/sfntfont.c
+++ b/src/sfntfont.c
@@ -482,7 +482,14 @@ sfnt_parse_languages (struct sfnt_meta_table *meta,
482 &map); 482 &map);
483 483
484 if (!data) 484 if (!data)
485 return; 485 {
486 /* Fall back to the supported languages metadata. */
487 data = sfnt_find_metadata (meta, SFNT_META_DATA_TAG_SLNG,
488 &map);
489
490 if (!data)
491 return;
492 }
486 493
487 USE_SAFE_ALLOCA; 494 USE_SAFE_ALLOCA;
488 495