Mercurial > mplayer.hg
comparison gui/dialog/fileselect.c @ 36015:73652b504ee1
Rephrase positively.
Additionally, add #include for PATH_MAX.
author | ib |
---|---|
date | Sun, 31 Mar 2013 03:57:53 +0000 |
parents | 5b85e4510b5f |
children | 7ee29db149cd |
comparison
equal
deleted
inserted
replaced
36014:5b85e4510b5f | 36015:73652b504ee1 |
---|---|
46 #include "help_mp.h" | 46 #include "help_mp.h" |
47 #include "libavutil/common.h" | 47 #include "libavutil/common.h" |
48 #include "mpcommon.h" | 48 #include "mpcommon.h" |
49 #include "stream/stream.h" | 49 #include "stream/stream.h" |
50 | 50 |
51 #ifndef __linux__ | 51 #ifdef __linux__ |
52 #define get_current_dir_name() getcwd(NULL, PATH_MAX) | 52 char *get_current_dir_name(void); |
53 #else | 53 #else |
54 char *get_current_dir_name(void); | 54 #include <limits.h> |
55 #define get_current_dir_name() getcwd(NULL, PATH_MAX) | |
55 #endif | 56 #endif |
56 | 57 |
57 const char *fsSelectedFile = NULL; | 58 const char *fsSelectedFile = NULL; |
58 const char *fsThisDir = "."; | 59 const char *fsThisDir = "."; |
59 const gchar *fsFilter = "*"; | 60 const gchar *fsFilter = "*"; |