diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-11 13:43:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-11 15:49:50 -0700 |
commit | add58148bc30060e99e9c896fa4d390460c55694 (patch) | |
tree | 1cf0f1dff1590c4fbd5fe4ebb6539920fe883bbd /main.c | |
parent | 0282d515db875cee0139e121db13084be0caac82 (diff) | |
download | subsurface-add58148bc30060e99e9c896fa4d390460c55694.tar.gz |
Oops. Fix 'buffered dive' information
When fixing the unit changes, I broke the dive buffering logic entirely
for switching between dives. Duh.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,12 +98,12 @@ void update_dive(struct dive *new_dive) if (old_dive) { flush_dive_info_changes(old_dive); flush_dive_equipment_changes(old_dive); - buffered_dive = new_dive; } if (new_dive) { show_dive_info(new_dive); show_dive_equipment(new_dive); } + buffered_dive = new_dive; } void repaint_dive(void) |