emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Separate file time from its tasks times


From: Sebastien Vauban
Subject: [O] [PATCH] Separate file time from its tasks times
Date: Fri, 30 Mar 2012 15:10:27 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (windows-nt)

2012-03-30  Sebastien Vauban  <address@hidden>

        * org-clock.el (org-clocktable-write-default): Make the sum
        appear visually correct by not mixing the total time per file
        and sub-totals.

>From 148cdf141add43798e21925ca852587017f6312a Mon Sep 17 00:00:00 2001
From: Sebastien Vauban <address@hidden>
Date: Fri, 30 Mar 2012 15:07:01 +0200
Subject: [PATCH] Separate file time from its tasks times

---
 lisp/org-clock.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 7c2c2ab..b7351a7 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -2293,7 +2293,7 @@ from the dynamic block definition."
                     properties "|") "|") "")  ;properties columns, maybe
               (if indent (org-clocktable-indent-string level) "") ; indentation
               hlc headline hlc "|"                                ; headline
-              (make-string (min (1- ntcol) (or (- level 1))) ?|)
+              (make-string (min (1- ntcol) (or level)) ?|)
                                        ; empty fields for higher levels
               hlc (org-minutes-to-hh:mm-string (nth 3 entry)) hlc ; time
               "|\n"                                               ; close line
-- 
1.7.9

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]