aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'reader.c')
-rw-r--r--reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/reader.c b/reader.c
index 388d9b28..28e6d184 100644
--- a/reader.c
+++ b/reader.c
@@ -1485,10 +1485,10 @@ static void run_pager( wchar_t *prefix, int is_quoted, array_list_t *comp )
for( i=0; i<al_get_count( comp); i++ )
{
- wchar_t *el = escape( (wchar_t*)al_get( comp, i ),1);
+ wchar_t *el = (wchar_t*)al_get( comp, i );
sb_printf( &msg, L"%ls\n", el );
- free(el);
}
+ sb_printf( &msg, PAGER_EOT_STR );
foo = wcs2str( (wchar_t *)msg.buff );
b_append( in->param2.out_buffer, foo, strlen(foo) );