commit | a78a1fc3bc268a09389f62894441dfb1a814359f | [log] [tgz] |
---|---|---|
author | Arathorn <arathorn@mg.mud.de> | Mon Nov 25 22:42:26 2019 +0100 |
committer | Zesstra <zesstra@zesstra.de> | Tue Nov 26 20:03:09 2019 +0100 |
tree | dd2676ea012aa0b8ce19537df53b607bf223c7e9 | |
parent | da73716608f4188512e577a83ac16cf754add15b [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))