Fixed missing terminal_colour in ls
In one ls code path a terminal_colour() call was
missing.
Change-Id: I37101321359f47ffefcd94b8728a9475f522bc6e
diff --git a/std/shells/magier/fileview.c b/std/shells/magier/fileview.c
index 2fc4b2f..00a3b64 100644
--- a/std/shells/magier/fileview.c
+++ b/std/shells/magier/fileview.c
@@ -143,7 +143,7 @@
tmp=sprintf(lstemplates.templates[OBJ],tmp); break;
}
}
- if (!maxcount) return tmp+"\n";
+ if (!maxcount) return terminal_colour(tmp+"\n",lstemplates.colormap);
return terminal_colour(sprintf("%-*s%s",(maxlen+sizeof(tmp)),tmp,
((counter++)==maxcount?(counter=0,"\n"):" ")),
lstemplates.colormap);