Changeset f7705ea7d627555a29e88a63a6a0d5c65e6836a0
- Timestamp:
- 03/06/07 21:08:31
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1173211711 +0000
- git-parent:
[0699b600bf3cfecc4ec7f09276f2bd86d66bf629]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1173211711 +0000
- Message:
setlocale() (very) early, so we may have a chance to use nl_langinfo
before initializing LibVLC (refs #838)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r250e128 |
rf7705ea |
|
| 31 | 31 | #include <stdio.h> /* fprintf() */ |
|---|
| 32 | 32 | #include <stdlib.h> /* putenv(), strtol(), */ |
|---|
| | 33 | #include <locale.h> |
|---|
| 33 | 34 | |
|---|
| 34 | 35 | |
|---|
| … | … | |
| 57 | 58 | { |
|---|
| 58 | 59 | int i_ret; |
|---|
| | 60 | |
|---|
| | 61 | setlocale (LC_ALL, ""); |
|---|
| 59 | 62 | |
|---|
| 60 | 63 | #ifndef __APPLE__ |
|---|
| … | … | |
| 146 | 149 | else |
|---|
| 147 | 150 | { |
|---|
| 148 | | ppsz_argv[i] = ""; |
|---|
| | 151 | ppsz_argv[i] = strdup (""); |
|---|
| 149 | 152 | } |
|---|
| 150 | 153 | } |
|---|