Ticket #3250: 0001-3282.patch

File 0001-3282.patch, 666 bytes (added by egmont, 5 years ago)

Fix for bug 3282 (colored tilde after eof)

  • src/viewer/ascii.c

    From a2ca95cc9f0e5d5d494c963124a98fa52fceecb8 Mon Sep 17 00:00:00 2001
    From: Egmont Koblinger <egmont@gmail.com>
    Date: Sat, 4 Oct 2014 14:48:02 +0200
    Subject: [PATCH 1/2] 3282
    
    ---
     src/viewer/ascii.c | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/src/viewer/ascii.c b/src/viewer/ascii.c
    index 081cb85..e7ebc7d 100644
    a b mcview_display_text (mcview_t * view) 
    870870    view->dpy_end = state.offset; 
    871871    view->dpy_state_bottom = state; 
    872872 
     873    tty_setcolor (VIEW_NORMAL_COLOR); 
    873874    if (mcview_show_eof != NULL && mcview_show_eof[0] != '\0') 
    874875        while (row < (int) height) 
    875876        {