summaryrefslogtreecommitdiffstats
path: root/system/lv/patches/shows-the-filename-only.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/lv/patches/shows-the-filename-only.diff')
-rw-r--r--system/lv/patches/shows-the-filename-only.diff25
1 files changed, 0 insertions, 25 deletions
diff --git a/system/lv/patches/shows-the-filename-only.diff b/system/lv/patches/shows-the-filename-only.diff
deleted file mode 100644
index 32912b4209..0000000000
--- a/system/lv/patches/shows-the-filename-only.diff
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: shows the file name only if it is shorter than the width of the screen.
-Author: Oohara Yuuma <oohara@libra.interq.or.jp>
-Last-Update: 2008-01-27
-
-Index: lv/src/command.c
-===================================================================
---- lv.orig/src/command.c
-+++ lv/src/command.c
-@@ -1173,8 +1173,15 @@ public void Command( file_t *file, byte
- else
- label = "(END)";
- }
-- if( TRUE == f->top )
-+ if( TRUE == f->top ){
- label = FileName( f );
-+ /* if the file name is not shorter than the width of the screen,
-+ * it causes scrolling and moves the first line of the file
-+ * out of the screen
-+ */
-+ if ( strlen(label) >= f->width )
-+ label = NULL;
-+ }
- }
-
- if( NULL != label ){