Changeset 09f98c01f1e35638813b3d59a735064292d5938a
- Timestamp:
- 23/09/07 11:21:58
(1 year ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1190539318 +0000
- git-parent:
[74da71f8eac6c1588af74f3e8f34378e95109b1b]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1190539318 +0000
- Message:
fix osdmenu-file-path option
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0a84a03 |
r09f98c0 |
|
| 341 | 341 | long pos = 0; |
|---|
| 342 | 342 | |
|---|
| | 343 | result = fscanf(fd, "%24s %255s", &action[0], &path[0] ); |
|---|
| | 344 | |
|---|
| 343 | 345 | /* override images path ? */ |
|---|
| 344 | 346 | psz_path = config_GetPsz( p_this, "osdmenu-file-path" ); |
|---|
| 345 | | if( psz_path == NULL ) |
|---|
| 346 | | { |
|---|
| 347 | | result = fscanf(fd, "%24s %255s", &action[0], &path[0] ); |
|---|
| 348 | | } |
|---|
| 349 | | else |
|---|
| | 347 | if( psz_path ) |
|---|
| 350 | 348 | { |
|---|
| 351 | 349 | /* psz_path is not null and therefor &path[0] cannot be NULL |
|---|