summaryrefslogtreecommitdiffstats
path: root/contrib/less/filename.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-10-08 16:14:52 +0000
committerdelphij <delphij@FreeBSD.org>2007-10-08 16:14:52 +0000
commitaa9fcd738666aeeba852b8c048517501f6704bc0 (patch)
tree2a78cc9eb4488e323c6e10ad2cee170d3b3eed87 /contrib/less/filename.c
parentbb6dbdf2f382ed564a935433f1553a0c588e0f5f (diff)
downloadFreeBSD-src-aa9fcd738666aeeba852b8c048517501f6704bc0.zip
FreeBSD-src-aa9fcd738666aeeba852b8c048517501f6704bc0.tar.gz
Virgin import of less v408.
Approved by: re (kensmith)
Diffstat (limited to 'contrib/less/filename.c')
-rw-r--r--contrib/less/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/less/filename.c b/contrib/less/filename.c
index 8e0823e..ea3120f 100644
--- a/contrib/less/filename.c
+++ b/contrib/less/filename.c
@@ -482,7 +482,7 @@ bin_file(f)
for (i = 0; i < n; i++)
{
char c = data[i];
- if (ctldisp == OPT_ONPLUS && c == ESC)
+ if (ctldisp == OPT_ONPLUS && IS_CSI_START(c))
{
while (++i < n && is_ansi_middle(data[i]))
continue;
OpenPOWER on IntegriCloud