comparison gui/ui/main.c @ 34681:42fa91951bd2

Rename PLAYLIST_ITEM_ADD PLAYLIST_ITEM_APPEND. It is different from URLLIST_ITEM_ADD, so choose a different name.
author ib
date Thu, 23 Feb 2012 13:23:54 +0000
parents 697aaedfe59e
children b03481253518
comparison
equal deleted inserted replaced
34680:f49f6501eb8b 34681:42fa91951bd2
655 item->path = gstrdup( str ); 655 item->path = gstrdup( str );
656 } else { 656 } else {
657 item->name = strdup(str); 657 item->name = strdup(str);
658 item->path = strdup(""); 658 item->path = strdup("");
659 } 659 }
660 listMgr(PLAYLIST_ITEM_ADD,item); 660 listMgr(PLAYLIST_ITEM_APPEND,item);
661 } else { 661 } else {
662 mp_msg( MSGT_GPLAYER,MSGL_WARN,MSGTR_NotAFile,str ); 662 mp_msg( MSGT_GPLAYER,MSGL_WARN,MSGTR_NotAFile,str );
663 } 663 }
664 free( str ); 664 free( str );
665 } 665 }