Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
6837ebe1
Commit
6837ebe1
authored
Jan 28, 2010
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fix
parent
494dbf11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/modules/textdomain.c
src/modules/textdomain.c
+4
-2
No files found.
src/modules/textdomain.c
View file @
6837ebe1
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
#ifdef ENABLE_NLS
#ifdef ENABLE_NLS
# include <libintl.h>
# include <libintl.h>
# if defined (__APPLE__) || defined (WIN32)
# include "config/configuration.h"
# endif
#endif
#endif
int
vlc_bindtextdomain
(
const
char
*
domain
)
int
vlc_bindtextdomain
(
const
char
*
domain
)
...
@@ -40,11 +43,10 @@ int vlc_bindtextdomain (const char *domain)
...
@@ -40,11 +43,10 @@ int vlc_bindtextdomain (const char *domain)
# else
# else
char
*
datadir
=
config_GetDataDirDefault
();
char
*
datadir
=
config_GetDataDirDefault
();
char
*
path
;
char
*
path
;
int
ret
;
if
(
unlikely
(
datadir
==
NULL
))
if
(
unlikely
(
datadir
==
NULL
))
return
-
1
;
return
-
1
;
int
ret
=
asprintf
(
&
path
,
"%s"
DIR_SEP
"locale"
,
datadir
);
ret
=
asprintf
(
&
path
,
"%s"
DIR_SEP
"locale"
,
datadir
);
free
(
datadir
);
free
(
datadir
);
# endif
# endif
...
...
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