Mercurial > mplayer.hg
diff libmenu/menu_filesel.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | f8b6c7045cf8 |
children | c05fbacce55f |
line wrap: on
line diff
--- a/libmenu/menu_filesel.c Tue May 12 19:25:35 2009 +0000 +++ b/libmenu/menu_filesel.c Wed May 13 02:58:57 2009 +0000 @@ -64,7 +64,7 @@ char* file_action; char* dir_action; char** actions; - char* filter; + char* filter; }; static struct menu_priv_s cfg_dflt = { @@ -104,7 +104,7 @@ 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 @@ mp_msg(MSGT_GLOBAL,MSGL_ERR,MSGTR_LIBMENU_ReallocError, strerror(errno)); n--; goto bailout; - } + } namelist=tp; } @@ -305,7 +305,7 @@ n--; goto bailout; } - + strcpy(namelist[n], dp->d_name); if(S_ISDIR(st.st_mode)) strcat(namelist[n], "/"); @@ -433,7 +433,7 @@ 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 @@ } } } - + getcwd(wd,PATH_MAX); if (!path || path[0] == '\0') { #if 0 @@ -495,7 +495,7 @@ return r; } - + const menu_info_t menu_info_filesel = { "File seletor menu", "filesel",