Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
26b33258
Commit
26b33258
authored
Dec 09, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* prevent the preferences from crashing. they aren't shown again yet, though
parent
41e68d84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+7
-2
No files found.
modules/gui/macosx/prefs.m
View file @
26b33258
...
...
@@ -275,7 +275,7 @@ static VLCTreeItem *o_root_item = nil;
module_t
*
p_parser
;
module_config_t
*
p_item
,
*
p_end
;
int
i_index
;
int
i_index
=
0
;
/* List the modules */
p_list
=
vlc_list_find
(
p_intf
,
VLC_OBJECT_MODULE
,
FIND_ANYWHERE
);
...
...
@@ -540,7 +540,7 @@ static VLCTreeItem *o_root_item = nil;
vlc_list_t
*
p_list
;
module_t
*
p_parser
=
NULL
;
module_config_t
*
p_item
,
*
p_end
=
p_parser
->
p_config
+
p_parser
->
confsize
;
*
p_end
;
o_subviews
=
[[
NSMutableArray
alloc
]
initWithCapacity
:
10
];
/* Get a pointer to the module */
...
...
@@ -552,6 +552,9 @@ static VLCTreeItem *o_root_item = nil;
/* 0OOoo something went really bad */
return
nil
;
}
p_end
=
p_parser
->
p_config
+
p_parser
->
confsize
;
p_item
=
p_parser
->
p_config
;
p_item
=
p_parser
->
p_config
+
1
;
...
...
@@ -613,6 +616,8 @@ static VLCTreeItem *o_root_item = nil;
msg_Err
(
p_intf
,
"could not load preferences"
);
return
o_view
;
}
p_end
=
p_parser
->
p_config
+
p_parser
->
confsize
;
p_item
=
(
p_parser
->
p_config
+
i_object_category
);
if
(
(
p_item
->
i_type
==
CONFIG_CATEGORY
)
&&
(
(
p_item
->
value
.
i
==
CAT_PLAYLIST
)
||
...
...
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