[AD] ustrdup() bugfix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi,
There's a typo in the definition of ustrdup(); I think it is intended to be
like in the attached patch.
Sven
--- allegro.h	Mon Mar 13 00:23:58 2000
+++ allegro.h	Sat Jun 10 21:17:36 2000
@@ -255,7 +255,7 @@
 
 AL_FUNC(char *, _ustrdup, (char *src, AL_METHOD(void *, malloc_func, (size_t))));
 
-#define ustrdup(src)    _ustrdup(src, malloc_func)
+#define ustrdup(src)    _ustrdup(src, malloc)
 
 
 /************************************************/






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/