aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_pager.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-07 20:36:51 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-07 20:36:51 +1000
commit8ff36deeb49e517ee076bb1a8db3d98adb6d7012 (patch)
tree85db57e65b96d0e2d02f12d8d6b2fcca1152ebb9 /fish_pager.c
parentb11aa091429489d318228500031f256c9c1b9133 (diff)
API cleanup
darcs-hash:20051007103651-ac50b-3b518ce795adf2d39b8ebfcba6a2df7c36411b15.gz
Diffstat (limited to 'fish_pager.c')
-rw-r--r--fish_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_pager.c b/fish_pager.c
index cc24cf25..d200205d 100644
--- a/fish_pager.c
+++ b/fish_pager.c
@@ -284,7 +284,7 @@ static void completion_print( int cols,
}
else
{
- wchar_t *tmp = escape( wcsdup(el), 1 );
+ wchar_t *tmp = escape( el, 1 );
whole_comp_width = my_wcswidth( tmp );
free(tmp);
}