mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename 'cylinder.c' as 'equipment.c'
Make it about general equipment management, and start hooking up functions to show new equipment information when changing dives (and to flush changes to equipment information for the previously active dive). Nothing is hooked up yet, and it's now showing just one (really big) cylinder choice, so this is all broken. But it should make it possible to at least get somewhere some day. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
41bce9e5f4
commit
067506038a
7 changed files with 47 additions and 31 deletions
|
@ -226,7 +226,7 @@ void save_dives(const char *filename)
|
|||
return;
|
||||
|
||||
/* Flush any edits of current dives back to the dives! */
|
||||
flush_dive_info_changes();
|
||||
update_dive(NULL);
|
||||
|
||||
fprintf(f, "<dives>\n<program name='diveclog' version='%d'></program>\n", VERSION);
|
||||
for (i = 0; i < dive_table.nr; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue