summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-08-12 08:53:01 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-08-12 08:53:01 +0200
commit0ef2d6587d3506659e3c41417b698659b3e2545b (patch)
tree467bd1161e02542fe309cbdca0a2005da4486075 /src
parente082a42f20a19cea57a9526554d64d80377b60cb (diff)
Remove last use of non-portable strdup() function
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Tooltip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Tooltip.cxx b/src/Fl_Tooltip.cxx
index 81a741f30..00c033b15 100644
--- a/src/Fl_Tooltip.cxx
+++ b/src/Fl_Tooltip.cxx
@@ -184,7 +184,7 @@ int Fl_Tooltip::override_text(const char *new_text) {
::free(override_text_);
override_text_ = nullptr;
if (new_text)
- override_text_ = ::strdup(new_text);
+ override_text_ = fl_strdup(new_text);
}
return 1;
}