]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* readline/display.c (insert_some_chars): Likewise.
authorMark Mitchell <mark@codesourcery.com>
Wed, 8 Jun 2005 16:48:52 +0000 (16:48 +0000)
committerMark Mitchell <mark@codesourcery.com>
Wed, 8 Jun 2005 16:48:52 +0000 (16:48 +0000)
(delete_chars): Likewise.

ChangeLog.csl
readline/display.c

index 5cf0f2fa600e9447ac8ee8be0798ea48a8475d9d..0166a320acee9e5c5f81357f51522cffc73d4f62 100644 (file)
@@ -1,3 +1,10 @@
+2005-06-08  Mark Mitchell  <mark@codesourcery.com>
+
+       Revert:
+       2005-03-28  Mark Mitchell <mark@codesourcery.com>
+       * readline/display.c (insert_some_chars): Likewise.
+       (delete_chars): Likewise.
+       
 2005-06-08  Mark Mitchell  <mark@codesourcery.com>
 
        * readline/input.c (rL_getc): Use getch, not getche.
index b9bb2d3e8aca9cb436f58b9585e20009ef4aa9b9..e7b75912c9e465e49001c78a15041c975fa02559 100644 (file)
@@ -1907,9 +1907,9 @@ insert_some_chars (string, count, col)
      char *string;
      int count, col;
 {
-#if defined(__MSDOS__) || defined(__MINGW32__)
+#ifdef __MSDOS__
   _rl_output_some_chars (string, count);
-#else  /* !__MSDOS__ && !__MINGW32__ */
+#else  /* !__MSDOS__ */
   /* DEBUGGING */
   if (MB_CUR_MAX == 1 || rl_byte_oriented)
     if (count != col)
@@ -1959,7 +1959,7 @@ delete_chars (count)
   if (count > _rl_screenwidth) /* XXX */
     return;
 
-#if !defined(__MSDOS__) && !defined(__MINGW32__)  
+#ifndef __MSDOS__
   if (_rl_term_DC && *_rl_term_DC)
     {
       char *buffer;
@@ -1972,7 +1972,7 @@ delete_chars (count)
        while (count--)
          tputs (_rl_term_dc, 1, _rl_output_character_function);
     }
-#endif /* !__MSDOS__ && !__MINGW32__ */
+#endif /* !__MSDOS__ */
 }
 
 void