Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
4df49b18
Commit
4df49b18
authored
Aug 30, 2011
by
Rafaël Carré
Browse files
Revert "FromLocaleDup(): accept NULL input (and return NULL)"
This reverts commit
3ab2f937
.
parent
eb8d2024
Changes
1
Show whitespace changes
Inline
Side-by-side
src/text/unicode.c
View file @
4df49b18
...
@@ -90,9 +90,6 @@ char *FromLocale (const char *locale)
...
@@ -90,9 +90,6 @@ char *FromLocale (const char *locale)
*/
*/
char
*
FromLocaleDup
(
const
char
*
locale
)
char
*
FromLocaleDup
(
const
char
*
locale
)
{
{
if
(
!
locale
)
return
NULL
;
#ifdef ASSUME_UTF8
#ifdef ASSUME_UTF8
return
strdup
(
locale
);
return
strdup
(
locale
);
#else
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment