mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix right click edit in Dive Notes area for multiple dives
This fixes the bug that triggered the SIGSEGV that Linus worked around earlier. I had forgotten to update this call path to the edit_multi_dive_info function. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
673cf274f8
commit
f6dfb0094c
4 changed files with 4 additions and 2 deletions
1
dive.h
1
dive.h
|
|
@ -281,6 +281,7 @@ struct dive_table {
|
|||
|
||||
extern struct dive_table dive_table;
|
||||
|
||||
extern int *selectiontracker;
|
||||
extern int selected_dive;
|
||||
#define current_dive (get_dive(selected_dive))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue