Commit 0a240b82 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* modules/gui/macosx/playlist.m:

  - fixed a cosmetic issue.
parent 1fef5962
...@@ -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.16 2003/03/17 21:47:21 hartman Exp $ * $Id: playlist.m,v 1.17 2003/03/17 23:13:06 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>
...@@ -395,11 +395,17 @@ ...@@ -395,11 +395,17 @@
{ {
if ( o_operation == NSTableViewDropAbove ) if ( o_operation == NSTableViewDropAbove )
{ {
if ( i_row != i_moveRow && i_moveRow >= 0 ) if ( i_moveRow >= 0 )
{ {
return NSDragOperationMove; if ( i_row != i_moveRow )
{
return NSDragOperationMove;
}
/* what if in the previous run, the row wasn't actually moved?
then we can't drop new files on this location */
return NSDragOperationNone;
} }
return NSDragOperationLink; return NSDragOperationGeneric;
} }
return NSDragOperationNone; return NSDragOperationNone;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment