Commit 59ae39ef authored by Nicolas Rougier's avatar Nicolas Rougier

Removed wcsdup since it is part of the Standard C Library

parent 5983808a
......@@ -57,17 +57,6 @@ file_exists( const char * filename )
return 0;
}
// ----------------------------------------------------------------- wcsdup ---
wchar_t *
wcsdup( const wchar_t *string )
{
wchar_t * result;
assert( string );
result = (wchar_t *) malloc( (wcslen(string) + 1) * sizeof(wchar_t) );
wcscpy( result, string );
return result;
}
// ------------------------------------------------------- font_manager_new ---
font_manager_t *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment