subsurface/subsurface-core
Dirk Hohndel 38ab11a6c0 Add option to allocate the samples in fake_dc()
We (ab)use fake_dc() to create a pleasing profile for a manually added
dive. Based on it's intended use, fake_dc() simply handed back a dc
structure that pointed at staticly allocated samples - that's obviously
(now that I think about it) going to blow up in my face if I edit a
manually added dive more than once.

So now we have an option for fake_dc() to actually allocate the samples -
this way the rest of the code can treat these samples as we would treat
samples created any other way. We can free them and replace them with a
new set.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-02-20 09:36:14 -08:00
..
2016-01-26 09:51:14 -08:00
2016-01-26 09:51:14 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2015-11-02 19:54:34 -08:00
2016-02-01 18:01:05 -08:00
2016-01-11 06:14:45 -08:00
2016-02-03 06:06:23 -08:00
2016-01-31 13:06:39 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2015-11-15 12:10:37 -08:00
2016-01-31 13:06:39 -08:00
2015-11-09 18:00:56 -08:00
2016-01-24 21:26:45 -08:00
2016-02-01 18:01:05 -08:00
2015-11-14 10:43:37 -08:00
2016-02-15 07:50:30 -08:00
2016-01-10 14:12:23 -08:00
2015-12-27 21:31:13 -08:00
2016-01-24 21:27:05 -08:00