Commit 0a240b82 authored by hartman's avatar hartman
Browse files

* modules/gui/macosx/playlist.m:

  - fixed a cosmetic issue.
parent 1fef5962
......@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin
*****************************************************************************
* 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>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
......@@ -395,11 +395,17 @@
{
if ( o_operation == NSTableViewDropAbove )
{
if ( i_row != i_moveRow && i_moveRow >= 0 )
if ( i_moveRow >= 0 )
{
if ( i_row != i_moveRow )
{
return NSDragOperationMove;
}
return NSDragOperationLink;
/* 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 NSDragOperationGeneric;
}
return NSDragOperationNone;
}
......
Supports Markdown
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