summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 89894bbc02..baf831fb13 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -762,7 +762,7 @@ int gui_no_filename=0;
use_gui=0;
}
if (use_gui && playtree_iter){
- char cwd[MAXPATHLEN+2];
+ char cwd[PATH_MAX+2];
// Remove Playtree and Playtree-Iter from memory as its not used by gui
play_tree_iter_free(playtree_iter);
playtree_iter=NULL;