[MPlayer-cvslog] r38582 - trunk/gui/dialog/fileselect.c

ib subversion at mplayerhq.hu
Sun Jun 16 14:50:48 EEST 2024


Author: ib
Date: Sun Jun 16 14:50:48 2024
New Revision: 38582

Log:
Do not set filepath for FILESELECT_VIDEO_AUDIO or FILESELECT_IMAGE.

Both add the directory permanently using fs_PersistantHistory().

Modified:
   trunk/gui/dialog/fileselect.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Sun Jun 16 14:46:48 2024	(r38581)
+++ trunk/gui/dialog/fileselect.c	Sun Jun 16 14:50:48 2024	(r38582)
@@ -874,7 +874,6 @@ void ShowFileSelector(int type)
 
         k = fsLastVideoAudioFilterSelected;
         gtk_entry_set_text(gtkEntry(fsFilterCombo), _(fsVideoAudioFilterNames[k >= 0 ? k : i - 4][0]));
-        //filepath=guiInfo.Filename;
         break;
 
     case FILESELECT_SUBTITLE:
@@ -918,7 +917,6 @@ void ShowFileSelector(int type)
 
         k = fsLastImageFilterSelected;
         gtk_entry_set_text(gtkEntry(fsFilterCombo), _(fsImageFilterNames[k >= 0 ? k : 0][0]));
-        filepath = guiInfo.ImageFilename;
         break;
     }
 


More information about the MPlayer-cvslog mailing list