Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
716dd47a
Commit
716dd47a
authored
Dec 15, 2003
by
hartman
Browse files
* don't search the playlist when there is nothing in it. We will crash.
parent
d93b0d46
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/macosx/playlist.m
View file @
716dd47a
...
...
@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: playlist.m,v 1.4
8
2003/12/1
1
1
9:34:46
hartman Exp $
* $Id: playlist.m,v 1.4
9
2003/12/1
5
1
4:25:43
hartman Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
...
...
@@ -284,10 +284,14 @@
{
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
{
...
...
@@ -313,7 +317,7 @@
[
o_table_view
scrollRowToVisible
:
i_current
];
break
;
}
if
(
i_current
==
[
o_table_view
numberOfRows
]
-
1
)
if
(
i_current
==
[
o_table_view
numberOfRows
]
-
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