summaryrefslogtreecommitdiff
path: root/fluid/Fl_Widget_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-12-01 16:53:21 +0100
committerMatthias Melcher <github@matthiasm.com>2023-12-01 16:53:27 +0100
commit96730f80cbc3b2d5aec2967a61f16bb2f02853e6 (patch)
tree2efb7ea0cf9f9f71aa7fa1838bd4b349ff9157d2 /fluid/Fl_Widget_Type.cxx
parentccc21d381a41620a9fb91870ab2a47ef9309d148 (diff)
Adds some possible NULL references and small fixes
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
-rw-r--r--fluid/Fl_Widget_Type.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index 05260136c..9a5c3251a 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -3659,9 +3659,9 @@ void Fl_Widget_Type::copy_properties() {
if (!live_widget)
return;
- Fl_Font ff;
- int fs;
- Fl_Color fc;
+ Fl_Font ff = 0;
+ int fs = 0;
+ Fl_Color fc = 0;
textstuff(0, ff, fs, fc);
// copy all attributes common to all widget types