# HG changeset patch # User vayne # Date 1167417322 0 # Node ID 7b549b0ee467157c89b7fd008b4ca769bc157a99 # Parent c9d6c2d5c32023a23a854561c90cbebe147861e6 fix to allow adding multiple files to the playlist with the open file dialog. diff -r c9d6c2d5c320 -r 7b549b0ee467 Gui/win32/dialogs.c --- a/Gui/win32/dialogs.c Fri Dec 29 14:15:40 2006 +0000 +++ b/Gui/win32/dialogs.c Fri Dec 29 18:35:22 2006 +0000 @@ -143,7 +143,7 @@ { if (GetFullPathName(filename, MAX_PATH, filename, &filepart)) { - if(!parse_filename(filename, playtree, mconfig, add? 0 : 1)) + if(!parse_filename(filename, playtree, mconfig, 0)) gui->playlist->add_track(gui->playlist, filename, NULL, filepart, 0); mp_msg(MSGT_GPLAYER, MSGL_V, "[GUI] Adding file: %s - path %s\n", filespec, filename); result++; diff -r c9d6c2d5c320 -r 7b549b0ee467 Gui/win32/gui.c --- a/Gui/win32/gui.c Fri Dec 29 14:15:40 2006 +0000 +++ b/Gui/win32/gui.c Fri Dec 29 18:35:22 2006 +0000 @@ -181,6 +181,7 @@ case evLoadPlay: case evLoad: if(display_openfilewindow(gui, 0) && (msg == evLoadPlay)) + mplGotoTheNext = guiIntfStruct.Playing? 0 : 1; handlemsg(hWnd, evDropFile); return; case evLoadSubtitle: