diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-06 14:15:07 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-07 16:50:56 +0200 |
commit | f1b04c40ba9faf9b7b8969cf3686c35bb7b79b33 (patch) | |
tree | 9e37bde60e1aa7ee17bcd00fe77e5c48151ff224 /dw/textblock.cc | |
parent | 83e88446c99f793f696984904e47070a287fd15d (diff) |
Use dStrdup instead of strdup
The strdup function is not available in POSIX-2001, so we use our own
implementation in dlib: dStrdup.
Reviewed-by: dogma
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 870ff9e6..df34dd95 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -2553,7 +2553,7 @@ void Textblock::addWidget (core::Widget *widget, core::style::Style *style) } /** - * Add an anchor to the page. "name" is copied, so no strdup is necessary for + * Add an anchor to the page. "name" is copied, so no dStrdup is necessary for * the caller. * * Return true on success, and false, when this anchor had already been |