summaryrefslogtreecommitdiffstats
path: root/libmenu
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-05 19:47:04 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-05 19:47:04 +0000
commit45509b2576330623b61202253ffa2813fcea859b (patch)
tree16bfccf8ba77c784ef5fea473e08f9e5d45e5530 /libmenu
parent8d4cdcc158ab76261022ee59ba14f6a0212e7c69 (diff)
downloadmpv-45509b2576330623b61202253ffa2813fcea859b.tar.bz2
mpv-45509b2576330623b61202253ffa2813fcea859b.tar.xz
Remove useless braces on if() statement.
Patch by Guillaume Lecerf <foxcore at gmail com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26993 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/menu_filesel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmenu/menu_filesel.c b/libmenu/menu_filesel.c
index 135d57224a..51436a7b6d 100644
--- a/libmenu/menu_filesel.c
+++ b/libmenu/menu_filesel.c
@@ -412,9 +412,8 @@ static int open_fs(menu_t* menu, char* args) {
path = malloc(st.st_size+1);
path[st.st_size] = '\0';
if ((read(path_fp, path, st.st_size) == st.st_size) && path[0] == '/'
- && !stat(path, &st) && S_ISDIR(st.st_mode)){
+ && !stat(path, &st) && S_ISDIR(st.st_mode))
freepath = path;
- }
else {
free(path);
path = NULL;