projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix truncated log timestamps in at least some cases.
[dcpomatic.git]
/
src
/
lib
/
log_entry.cc
diff --git
a/src/lib/log_entry.cc
b/src/lib/log_entry.cc
index d29b56747306f0b9a23aff6e3b49c0f678c9d659..99443e34af54fbf55165630c0e77fba811677355 100644
(file)
--- a/
src/lib/log_entry.cc
+++ b/
src/lib/log_entry.cc
@@
-50,7
+50,7
@@
LogEntry::get () const
struct tm* t = localtime (&sec);
strftime (buffer, 64, "%c", t);
string a (buffer);
- s << a
.substr (0, a.length() - 1)
<< N_(": ");
+ s << a << N_(": ");
}
if (_type & TYPE_ERROR) {