mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix event saving in git format due to wrong argument order
Oops. Really stupid bug in event saving, resulting in bad event lines, that I didn't notice until I started trying to parse them. The argument order is a bit mixed up, which is partly why this happened. But considering that this is the worst bug I've hit so far in the saving code, I guess I shouldn't complain too much. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2584b7e831
commit
1e8c828396
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ static void save_one_event(struct membuffer *b, struct event *ev)
|
|||
show_index(b, ev->type, "type=", "");
|
||||
show_index(b, ev->flags, "flags=", "");
|
||||
show_index(b, ev->value, "value=", "");
|
||||
show_utf8(b, ev->name, " name=", "");
|
||||
show_utf8(b, " name=", ev->name, "");
|
||||
put_string(b, "\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue