projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8865b2e
)
Fixed reordering of history if the browser instance is closed (#31).
author
Daniel Carl
<danielcarl@gmx.de>
Sun, 2 Jun 2013 17:07:03 +0000
(19:07 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sun, 2 Jun 2013 17:07:03 +0000
(19:07 +0200)
src/history.c
patch
|
blob
|
history
diff --git
a/src/history.c
b/src/history.c
index
21f2a65
..
2650f76
100644
(file)
--- a/
src/history.c
+++ b/
src/history.c
@@
-265,7
+265,7
@@
static void write_to_file(GList *list, const char *file)
file_lock_set(fileno(f), F_WRLCK);
/* overwrite the history file with new unique history items */
- for (GList *link =
g_list_reverse(list)
; link; link = link->next) {
+ for (GList *link =
list
; link; link = link->next) {
fprintf(f, "%s\n", (char*)link->data);
}