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
250f8123
Commit
250f8123
authored
Aug 25, 2009
by
Felix Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed some compilation warnings
parent
93442c63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+9
-9
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+1
-1
No files found.
modules/gui/macosx/controls.m
View file @
250f8123
...
...
@@ -207,12 +207,12 @@
var_Set
(
p_playlist
,
"random"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Random On"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Random On"
)
);
config_PutInt
(
p_playlist
,
"random"
,
1
);
}
else
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Random Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Random Off"
)
);
config_PutInt
(
p_playlist
,
"random"
,
0
);
}
...
...
@@ -276,7 +276,7 @@
config_PutInt
(
p_playlist
,
"loop"
,
0
);
/* show the change */
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat One"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat One"
)
);
}
else
if
(
repeating
.
b_bool
&&
!
looping
.
b_bool
)
{
...
...
@@ -292,7 +292,7 @@
config_PutInt
(
p_playlist
,
"loop"
,
1
);
/* show the change */
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat All"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat All"
)
);
}
else
{
...
...
@@ -308,7 +308,7 @@
config_PutInt
(
p_playlist
,
"loop"
,
0
);
/* show the change */
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat Off"
)
);
}
/* communicate with core and the main intf loop */
...
...
@@ -336,12 +336,12 @@
var_Set
(
p_playlist
,
"repeat"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat One"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat One"
)
);
config_PutInt
(
p_playlist
,
"repeat"
,
1
);
}
else
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat Off"
)
);
config_PutInt
(
p_playlist
,
"repeat"
,
0
);
}
...
...
@@ -365,12 +365,12 @@
var_Set
(
p_playlist
,
"loop"
,
val
);
if
(
val
.
b_bool
)
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat All"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat All"
)
);
config_PutInt
(
p_playlist
,
"loop"
,
1
);
}
else
{
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Repeat Off"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Repeat Off"
)
);
config_PutInt
(
p_playlist
,
"loop"
,
0
);
}
...
...
modules/gui/macosx/simple_prefs.m
View file @
250f8123
...
...
@@ -328,7 +328,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na
else
if
(
p_config
->
psz_text
)
return
p_config
->
psz_text
;
else
msg_Warn
(
p_this
,
"option %s does not include any help"
);
msg_Warn
(
p_this
,
"option %s does not include any help"
,
psz_name
);
return
NULL
;
}
...
...
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