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
716dd47a
Commit
716dd47a
authored
Dec 15, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* don't search the playlist when there is nothing in it. We will crash.
parent
d93b0d46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+8
-4
No files found.
modules/gui/macosx/playlist.m
View file @
716dd47a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin
* playlist.m: MacOS X interface plugin
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* Copyright (C) 2002-2003 VideoLAN
* $Id: playlist.m,v 1.4
8 2003/12/11 19:34:46
hartman Exp $
* $Id: playlist.m,v 1.4
9 2003/12/15 14:25:43
hartman Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
...
@@ -284,10 +284,14 @@
...
@@ -284,10 +284,14 @@
{
{
return
;
return
;
}
}
if
(
[
o_table_view
numberOfRows
]
<
1
)
{
return
;
}
if
(
[
o_table_view
selectedRow
]
==
[
o_table_view
numberOfRows
]
-
1
)
if
(
[
o_table_view
selectedRow
]
==
[
o_table_view
numberOfRows
]
-
1
)
{
{
i_current
=-
1
;
i_current
=
-
1
;
}
}
else
else
{
{
...
@@ -313,7 +317,7 @@
...
@@ -313,7 +317,7 @@
[
o_table_view
scrollRowToVisible
:
i_current
];
[
o_table_view
scrollRowToVisible
:
i_current
];
break
;
break
;
}
}
if
(
i_current
==
[
o_table_view
numberOfRows
]
-
1
)
if
(
i_current
==
[
o_table_view
numberOfRows
]
-
1
)
{
{
i_current
=
-
1
;
i_current
=
-
1
;
}
}
...
...
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