Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e854bbff
Commit
e854bbff
authored
Sep 06, 2009
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: fix My Music and My Videos directories access
parent
81f10bb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/config/dirs_win.c
src/config/dirs_win.c
+4
-4
No files found.
src/config/dirs_win.c
View file @
e854bbff
...
...
@@ -109,6 +109,7 @@ static char *config_GetAppDir (void)
return
psz_dir
;
}
#warning FIXME Use known folders on Vista and above
char
*
config_GetUserDir
(
vlc_userdir_t
type
)
{
switch
(
type
)
...
...
@@ -125,14 +126,13 @@ char *config_GetUserDir (vlc_userdir_t type)
case
VLC_TEMPLATES_DIR
:
case
VLC_PUBLICSHARE_DIR
:
case
VLC_DOCUMENTS_DIR
:
return
config_GetUserDir
(
VLC_HOME_DIR
);
case
VLC_MUSIC_DIR
:
#warning FIXME: unimplemented
return
config_GetUserDir
(
VLC_HOME_DIR
);
return
config_GetShellDir
(
CSIDL_MYMUSIC
);
case
VLC_PICTURES_DIR
:
return
config_GetShellDir
(
CSIDL_MYPICTURES
);
case
VLC_VIDEOS_DIR
:
#warning FIXME: unimplemented
return
config_GetUserDir
(
VLC_HOME_DIR
);
return
config_GetShellDir
(
CSIDL_MYVIDEO
);
}
assert
(
0
);
}
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