Ticket #12978: 0002-Fix-for-ticket-12978.patch

File 0002-Fix-for-ticket-12978.patch, 724 bytes (added by tsimblist, 8 years ago)
  • src/kits/tracker/InfoWindow.cpp

    From 0879d183bc1b77529c7ead320b503114b3a828ad Mon Sep 17 00:00:00 2001
    From: Tsimblist <tsimblist80@gmail.com>
    Date: Sun, 8 Jan 2017 00:52:09 +0000
    Subject: [PATCH 2/2] Fix for ticket 12978
    
    ---
     src/kits/tracker/InfoWindow.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/kits/tracker/InfoWindow.cpp b/src/kits/tracker/InfoWindow.cpp
    index b9922c6..eb3bdad 100644
    a b BInfoWindow::Show()  
    371371    // window height depends on file type
    372372    int lines = 7;
    373373    if (fModel->IsSymLink())
    374         lines += 1;
     374        lines++;
    375375    if (fModel->IsExecutable())
    376376        lines += 2;
    377377    float height = font->Size() * (lines * 2 + 1);