]> granicus.if.org Git - vim/commitdiff
patch 8.2.3046: Amiga MorphOS: Term mode is set using DOS packets v8.2.3046
authorola.soder@axis.com <ola.soder@axis.com>
Thu, 24 Jun 2021 19:43:31 +0000 (21:43 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Jun 2021 19:43:31 +0000 (21:43 +0200)
Problem:    Amiga MorphOS: Term mode is set using DOS packets.
Solution:   Use the same way of setting term mdoe on all next gen Amiga-like
            systems.  (Ola Söder, closes #8445)

src/os_amiga.c
src/version.c

index e2326b947742d937abc23c060410aa226b262152..f157c0bd23b88d154086691b79c2094cee09edc5 100644 (file)
@@ -982,7 +982,7 @@ mch_exit(int r)
     void
 mch_settmode(tmode_T tmode)
 {
-#if defined(__AROS__) || defined(__amigaos4__)
+#if defined(__AROS__) || defined(__amigaos4__) || defined(__MORPHOS__)
     if (!SetMode(raw_in, tmode == TMODE_RAW ? 1 : 0))
 #else
     if (dos_packet(MP(raw_in), (long)ACTION_SCREEN_MODE,
index d0e9da6fc7bb9d71a9d9def069e3b1da5298d862..1ecb567711d30909c2c0af095f1bab226d8514fc 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3046,
 /**/
     3045,
 /**/