Commit 4df49b18 authored by Rafaël Carré's avatar Rafaël Carré

Revert "FromLocaleDup(): accept NULL input (and return NULL)"

This reverts commit 3ab2f937.
parent eb8d2024
......@@ -90,9 +90,6 @@ char *FromLocale (const char *locale)
*/
char *FromLocaleDup (const char *locale)
{
if (!locale)
return NULL;
#ifdef ASSUME_UTF8
return strdup (locale);
#else
......
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