diff options
author | 2011-09-05 14:44:27 -0700 | |
---|---|---|
committer | 2011-09-05 14:44:27 -0700 | |
commit | c24fd4b82cf4476c6d9c863ee03f2d729b64e5f0 (patch) | |
tree | e2585459dafdcb544bfc4ff3e91e94a84fc72341 /dive.c | |
parent | 8197d7f4d4702d18df5b2121b5e0126c61e1b7ea (diff) | |
parent | 11becb87505b8cdf6fbf2f10941f87d394e49f80 (diff) | |
download | subsurface-c24fd4b82cf4476c6d9c863ee03f2d729b64e5f0.tar.gz |
Merge branch 'open-files' of git://github.com/nathansamson/diveclog
* 'open-files' of git://github.com/nathansamson/diveclog:
Report errors when opening files
Make it possible to load multiple files at once.
Open File works. I refactored the code and introduced a new type. I never used it as a pointer (their was no real reason), but I'm not really satisfied.
Diffstat (limited to 'dive.c')
-rw-r--r-- | dive.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -130,8 +130,6 @@ struct dive *fixup_dive(struct dive *dive) } /* Don't pick a zero for MERGE_MIN() */ -#define MIN(a,b) ((a)<(b)?(a):(b)) -#define MAX(a,b) ((a)>(b)?(a):(b)) #define MERGE_MAX(res, a, b, n) res->n = MAX(a->n, b->n) #define MERGE_MIN(res, a, b, n) res->n = (a->n)?(b->n)?MIN(a->n, b->n):(a->n):(b->n) |