diff options
| author | 2019-11-13 10:08:28 +0100 | |
|---|---|---|
| committer | 2019-11-16 09:23:39 +0100 | |
| commit | 065559c3d8194ee8ac2a251091eddb5da803d105 (patch) | |
| tree | f0b9d9d9fbd548f450dad116cb79f95051f0b0cd /core/settings/qPrefProxy.cpp | |
| parent | 2f77716e8f9bef3f9ef26dfdcb99f17e681c4c6f (diff) | |
| download | subsurface-065559c3d8194ee8ac2a251091eddb5da803d105.tar.gz | |
Core: set gas use to zero if no values are given
In get_gas_used() the use was left uninitialized if there are neither
user- nor computer-supplied values. This gives random SACs in the UI.
Initialize to 0.
Fixes #2376.
Reported-by: Stefan Fuchs <sfuchs@gmx.de>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/settings/qPrefProxy.cpp')
0 files changed, 0 insertions, 0 deletions