projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b504f1e
)
Fixed duplicate history writing.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 31 Jul 2013 00:01:34 +0000
(
02:01
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 31 Jul 2013 00:01:34 +0000
(
02:01
+0200)
src/history.c
patch
|
blob
|
history
diff --git
a/src/history.c
b/src/history.c
index
e7335e3
..
fd598f2
100644
(file)
--- a/
src/history.c
+++ b/
src/history.c
@@
-79,8
+79,9
@@
void history_add(HistoryType type, const char *value, const char *additional)
if (additional) {
util_file_append(file, "%s\t%s\n", value, additional);
+ } else {
+ util_file_append(file, "%s\n", value);
}
- util_file_append(file, "%s\n", value);
}
/**