Advertisement
Guest User

Untitled

a guest
Jun 9th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.67 KB | None | 0 0
  1. diff --git a/src/readline.c b/src/readline.c
  2. index b20f0d69..719b03c9 100644
  3. --- a/src/readline.c
  4. +++ b/src/readline.c
  5. @@ -1152,6 +1152,7 @@ byte Readline_ex_unicode(word x_pos, word y_pos, char * str, word * str_unicode,
  6.          }
  7.          break;
  8.        default :
  9. +#if !defined(USE_SDL2)
  10.          if (size<max_size && input_char != 0)
  11.          {
  12.            // Si la touche était autorisée...
  13. @@ -1186,6 +1187,7 @@ byte Readline_ex_unicode(word x_pos, word y_pos, char * str, word * str_unicode,
  14.              goto affichage;
  15.            } // End du test d'autorisation de touche
  16.          } // End du test de place libre
  17. +#endif
  18.          break;
  19.        
  20.  affichage:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement