From f1b04c40ba9faf9b7b8969cf3686c35bb7b79b33 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 6 Aug 2024 14:15:07 +0200 Subject: 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 --- dw/textblock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dw/textblock.cc') 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 -- cgit v1.2.3