summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-07-05 17:28:45 +0200
committerMatthias Melcher <github@matthiasm.com>2025-07-05 17:28:45 +0200
commitfa22585bbb0c0674c9f154120d274be9d7d10084 (patch)
tree6716db68c1f0e38e71428e6c984ea96fbc5828b3 /src
parent3b32463dc9d351180b68a4d82008a1b2b7d3a719 (diff)
Fl_Help_View: Fix writing into empty std::string
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Help_View.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 74c4ad527..defad08fe 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -2911,7 +2911,6 @@ Fl_Help_View::Fl_Help_View(int xx, int yy, int ww, int hh, const char *l)
{
color(FL_BACKGROUND2_COLOR, FL_SELECTION_COLOR);
- title_[0] = '\0';
defcolor_ = FL_FOREGROUND_COLOR;
bgcolor_ = FL_BACKGROUND_COLOR;
textcolor_ = FL_FOREGROUND_COLOR;
@@ -2925,7 +2924,6 @@ Fl_Help_View::Fl_Help_View(int xx, int yy, int ww, int hh, const char *l)
link_ = (Fl_Help_Func *)0;
link_list_.clear();
-
directory_.clear();
filename_.clear();