diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /libmenu/menu_filesel.c | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) | |
download | mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2 mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu/menu_filesel.c')
-rw-r--r-- | libmenu/menu_filesel.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libmenu/menu_filesel.c b/libmenu/menu_filesel.c index 6247e4073c..1321702945 100644 --- a/libmenu/menu_filesel.c +++ b/libmenu/menu_filesel.c @@ -64,7 +64,7 @@ struct menu_priv_s { char* file_action; char* dir_action; char** actions; - char* filter; + char* filter; }; static struct menu_priv_s cfg_dflt = { @@ -104,7 +104,7 @@ static char* replace_path(char* title , char* dir , int escape) { if(p) { int tl = strlen(title); int dl = strlen(dir); - int t1l = p-title; + int t1l = p-title; int l = tl - 2 + dl; char *r, *n, *d = dir; @@ -295,7 +295,7 @@ static int open_dir(menu_t* menu,char* args) { mp_msg(MSGT_GLOBAL,MSGL_ERR,MSGTR_LIBMENU_ReallocError, strerror(errno)); n--; goto bailout; - } + } namelist=tp; } @@ -305,7 +305,7 @@ static int open_dir(menu_t* menu,char* args) { n--; goto bailout; } - + strcpy(namelist[n], dp->d_name); if(S_ISDIR(st.st_mode)) strcat(namelist[n], "/"); @@ -433,7 +433,7 @@ static int open_fs(menu_t* menu, char* args) { if (!path || path[0] == '\0') { struct stat st; int path_fp; - + path_fp = open (MENU_KEEP_PATH, O_RDONLY); if (path_fp >= 0) { if (!fstat (path_fp, &st) && (st.st_size > 0)) { @@ -449,7 +449,7 @@ static int open_fs(menu_t* menu, char* args) { } } } - + getcwd(wd,PATH_MAX); if (!path || path[0] == '\0') { #if 0 @@ -495,7 +495,7 @@ static int open_fs(menu_t* menu, char* args) { return r; } - + const menu_info_t menu_info_filesel = { "File seletor menu", "filesel", |