Permalink
Browse files

Soptimize

  • Loading branch information...
1 parent dd6bc55 commit 83b6523f52acfb471a03029d7250cddeb24dbe10 @migueldeicaza migueldeicaza committed Feb 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 binding.cs.in
View
@@ -229,7 +229,7 @@ namespace Mono.Terminal {
//
public static int addch (int ch)
{
- if (ch > 0xffff)
+ if (ch < 127 || ch > 0xffff )
return _addch (ch);
char c = (char) ch;
return addstr (new String (c, 1));

0 comments on commit 83b6523

Please sign in to comment.