Skip to content
Snippets Groups Projects
Commit a9edd393 authored by deuce's avatar deuce
Browse files

Allow non-printable chars (This is probobly where the swedish

died)
parent 4e35d6ea
No related branches found
No related tags found
No related merge requests found
......@@ -1481,7 +1481,12 @@ int ugetstr(int left, int top, int width, char *outstr, int max, long mode, int
}
if(mode&K_ALPHA && !isalpha(ch))
continue;
#if 0
/* This broke swedish chars... */
if((ch>=' ' || (ch==1 && mode&K_MSG)) && i<max && (!ins || j<max) && isprint(ch))
#else
if((ch>=' ' || (ch==1 && mode&K_MSG)) && i<max && (!ins || j<max))
#endif
{
if(mode&K_UPPER)
ch=toupper(ch);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment