X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fsmoothcontrol.h;h=b5eb9aa2fd9dea6c56d81a38d40ed88755893671;hb=27356249e3607c78f5da9823c88703a6f4f7bed1;hp=5f7182404bc5cb11bf12bdebd5cb3b1dc7259ef1;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git diff --git a/source/input/smoothcontrol.h b/source/input/smoothcontrol.h index 5f71824..b5eb9aa 100644 --- a/source/input/smoothcontrol.h +++ b/source/input/smoothcontrol.h @@ -21,7 +21,7 @@ public: private: float value = 0.0f; - SmoothControl *paired_ctrl = 0; + SmoothControl *paired_ctrl = nullptr; float dead_zone = 0.1f; float threshold = 0.9f;