mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix minor coding standard issues introduced by my last commit
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ede70c03b0
commit
4891fa812f
2 changed files with 3 additions and 2 deletions
|
@ -419,8 +419,9 @@ static void record_cylinder_changes(cylinder_t *cyl, struct cylinder_widget *cyl
|
|||
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cylinder->pressure_button))) {
|
||||
start = gtk_spin_button_get_value(GTK_SPIN_BUTTON(cylinder->start));
|
||||
end = gtk_spin_button_get_value(GTK_SPIN_BUTTON(cylinder->end));
|
||||
} else
|
||||
} else {
|
||||
start = end = 0;
|
||||
}
|
||||
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cylinder->gasmix_button)))
|
||||
o2 = gtk_spin_button_get_value(GTK_SPIN_BUTTON(cylinder->o2))*10 + 0.5;
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue