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
410e1456
Commit
410e1456
authored
Feb 26, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: simplification.
parent
f03b31ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/gui/skins2/src/theme_repository.cpp
modules/gui/skins2/src/theme_repository.cpp
+4
-6
No files found.
modules/gui/skins2/src/theme_repository.cpp
View file @
410e1456
...
@@ -131,14 +131,12 @@ void ThemeRepository::parseDirectory( const string &rDir_locale )
...
@@ -131,14 +131,12 @@ void ThemeRepository::parseDirectory( const string &rDir_locale )
// Add the theme in the popup menu
// Add the theme in the popup menu
string
shortname
=
name
.
substr
(
0
,
name
.
size
()
-
4
);
string
shortname
=
name
.
substr
(
0
,
name
.
size
()
-
4
);
val
.
psz_string
=
new
char
[
path
.
size
()
+
1
];
val
.
psz_string
=
strdup
(
path
.
c_str
()
);
text
.
psz_string
=
new
char
[
shortname
.
size
()
+
1
];
text
.
psz_string
=
strdup
(
shortname
.
c_str
()
);
strcpy
(
val
.
psz_string
,
path
.
c_str
()
);
strcpy
(
text
.
psz_string
,
shortname
.
c_str
()
);
var_Change
(
getIntf
(),
"intf-skins"
,
VLC_VAR_ADDCHOICE
,
&
val
,
var_Change
(
getIntf
(),
"intf-skins"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
&
text
);
delete
[]
val
.
psz_string
;
free
(
val
.
psz_string
)
;
delete
[]
text
.
psz_string
;
free
(
text
.
psz_string
)
;
}
}
free
(
pszDirContent
);
free
(
pszDirContent
);
...
...
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