diff --git a/src/insets/RenderBase.h b/src/insets/RenderBase.h index e42035d87f..fab0d7abc2 100644 --- a/src/insets/RenderBase.h +++ b/src/insets/RenderBase.h @@ -52,12 +52,12 @@ public: virtual RenderMonitoredPreview * asMonitoredPreview() { return 0; } protected: - RenderBase() {} + RenderBase() : state_(false) {} RenderBase(RenderBase const &) {} RenderBase & operator=(RenderBase const &) { return *this; } /// render state. currently, render_button uses this to store mouse_hover_ - int state_; + bool state_; /// Cached mutable Dimension dim_; }; diff --git a/status.16x b/status.16x index d8f1ca8250..5ba9743279 100644 --- a/status.16x +++ b/status.16x @@ -223,6 +223,8 @@ What's new - Fix selection of math insets on some archs. +- Fix of painter glitches caused by unitialized variables (bug 6077). + * DOCUMENTATION AND LOCALIZATION