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
f6332edf
Commit
f6332edf
authored
Oct 21, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless comparisson (n >= 0) was always true (n is unsigned int)
parent
b20a4ac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/gui/skins2/src/popup.cpp
modules/gui/skins2/src/popup.cpp
+1
-1
No files found.
modules/gui/skins2/src/popup.cpp
View file @
f6332edf
...
@@ -73,7 +73,7 @@ void Popup::addSeparator( int pos )
...
@@ -73,7 +73,7 @@ void Popup::addSeparator( int pos )
void
Popup
::
handleEvent
(
const
EvtMenu
&
rEvent
)
void
Popup
::
handleEvent
(
const
EvtMenu
&
rEvent
)
{
{
unsigned
int
n
=
m_pOsPopup
->
getPosFromId
(
rEvent
.
getItemId
()
);
unsigned
int
n
=
m_pOsPopup
->
getPosFromId
(
rEvent
.
getItemId
()
);
if
(
n
>=
0
&&
n
<
m_actions
.
size
(
)
&&
m_actions
[
n
]
)
if
(
(
n
<
m_actions
.
size
()
)
&&
m_actions
[
n
]
)
{
{
m_actions
[
n
]
->
execute
();
m_actions
[
n
]
->
execute
();
}
}
...
...
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