Bug in restoring ascrate [was Re: Store/restore pref values for drop_stone_mode, bottomsac, decosac]
Gaetan Bisson
bisson at archlinux.org
Thu Jul 17 00:23:16 PDT 2014
[2014-07-17 00:04:10 -0700] Dirk Hohndel:
> On Thu, Jul 17, 2014 at 08:57:05AM +0200, Henrik Brautaset Aronsen wrote:
> > On Thu, Jul 17, 2014 at 8:18 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
> >
> > > Henrik just hijacked your thread.
> > >
> > > BAD Henrik...
> > >
> >
> > Yeah, I know. I'm a rebel.
>
> Definitely
>
> I traced this down to commit 887f9e63c3705df52b802420e72f5854d75c8ca6
> Author: Tomaz Canabrava <tomaz.canabrava at intel.com>
> Date: Tue Jul 15 15:39:13 2014 -0300
>
> Save and restore Dive Planner Settings
>
>
> But I'm too tired and can't think straight. Clearly this messes up the
> scaling and everything get's divided by 16.667 and therefore turns to 1.
> But why and where (and why are these ints and why the hell can't I think
> straight...)
Isn't it as simple as the attached patch?
--
Gaetan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-default-ascent-descent-rate.patch
Type: text/x-diff
Size: 1555 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140716/a769c874/attachment.patch>
More information about the subsurface
mailing list