commit | b774fa4f1af414445340a824a31d68c0c5839565 | [log] [tgz] |
---|---|---|
author | Arathorn <arathorn@mg.mud.de> | Mon Nov 25 22:42:26 2019 +0100 |
committer | Arathorn <arathorn@mg.mud.de> | Mon Nov 25 22:48:09 2019 +0100 |
tree | 7dc6f51c92a5d8544b291daf6a09b5cb1c414211 | |
parent | caa48ecaed872bd539d0130894111a2bac5fb6e0 [diff] |
Typfix in grep_file() Change-Id: I5db563edc4d1e11c881828bab61e1244a3f1edd1
diff --git a/std/shells/magier/fileview.c b/std/shells/magier/fileview.c index 0e9f154..f325896 100644 --- a/std/shells/magier/fileview.c +++ b/std/shells/magier/fileview.c
@@ -598,7 +598,7 @@ rexpr=lower_case(rexpr); do { - data=read_bytes(fullname,ptr,MAXLEN)||""; + data=to_text(read_bytes(fullname,ptr,MAXLEN)||"", "UTF-8"); ptr+=MAXLEN; lines=explode(carry+data,"\n"); switch(sizeof(lines))