diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-08-12 08:53:01 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-08-12 08:53:01 +0200 |
| commit | 0ef2d6587d3506659e3c41417b698659b3e2545b (patch) | |
| tree | 467bd1161e02542fe309cbdca0a2005da4486075 /src | |
| parent | e082a42f20a19cea57a9526554d64d80377b60cb (diff) | |
Remove last use of non-portable strdup() function
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Tooltip.cxx | 2 |
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; } |
