]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/sfntfont-android.c (init_sfntfont_android): Fix SDK check.
authorPo Lu <luangruo@yahoo.com>
Fri, 15 Mar 2024 03:50:09 +0000 (11:50 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 15 Mar 2024 09:06:05 +0000 (10:06 +0100)
(cherry picked from commit c453c82dc6af2178ce10ffddccd9f38543ea6e88)

src/sfntfont-android.c

index 94aedd0cd66469327f1712bee16b2ee5ef0bcf18..1ed394b94585e731bf7d2c25346221e76a0e3b1a 100644 (file)
@@ -770,7 +770,7 @@ init_sfntfont_android (void)
                      build_string ("Roboto")),
               Fcons (build_string ("DejaVu Serif"),
                      build_string ("Noto Serif")));
-  else if (api_level >= 15)
+  else if (api_level >= 14)
     /* Android 4.0 and later distribute Roboto in lieu of Droid
        Sans.  */
     Vsfnt_default_family_alist