diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-16 23:26:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-16 23:26:55 +0100 |
| commit | 1c13441a19aa387ddd8ac0c972207ccbbe3114d8 (patch) | |
| tree | d4586111dd83ea3731b81bd5002898b3fa3f5652 /src/wx/wx_util.cc | |
| parent | 3e12c68dc0451e73b5bc1a84d1d70f4999f7b4b5 (diff) | |
| parent | 93510d31e7ae2cadf2de076d4bef60ca3f381a35 (diff) | |
Merge master.
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index cf8b75dd2..003cc222f 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -193,7 +193,7 @@ void checked_set (wxSpinCtrlDouble* widget, double value) { /* XXX: completely arbitrary epsilon */ - if (fabs (widget->GetValue() - value) < 1e-16) { + if (fabs (widget->GetValue() - value) > 1e-16) { widget->SetValue (value); } } |
