[MPlayer-cvslog] r38284 - trunk/gui/dialog/fileselect.c
ib
subversion at mplayerhq.hu
Sun Feb 28 23:31:10 EET 2021
Author: ib
Date: Sun Feb 28 23:31:10 2021
New Revision: 38284
Log:
Fix segmentation fault.
Modified:
trunk/gui/dialog/fileselect.c
Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c Sun Feb 28 23:29:54 2021 (r38283)
+++ trunk/gui/dialog/fileselect.c Sun Feb 28 23:31:10 2021 (r38284)
@@ -594,6 +594,9 @@ static void fs_Ok_released(GtkButton *bu
(void)button;
(void)user_data;
+ if (!fsSelectedFile)
+ fsSelectedFile = ".";
+
if (chdir(fsSelectedFile) == 0) {
gchar *utf8dir;
More information about the MPlayer-cvslog
mailing list