[Xfce4-commits] [xfce/thunar] 02/03: Fix compiler warning because of missing curly braces
noreply at xfce.org
noreply at xfce.org
Mon May 4 07:53:43 CEST 2015
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository xfce/thunar.
commit 8bc720ed5448b6ffa6307b4484d02ed3067544da
Author: Harald Judt <h.judt at gmx.at>
Date: Mon May 4 07:40:38 2015 +0200
Fix compiler warning because of missing curly braces
---
thunar/thunar-window.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index e354e0f..de2a544 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -1825,10 +1825,12 @@ thunar_window_update_directories (ThunarWindow *window,
/* if it matches the old directory, change to the new one */
if (directory == old_directory)
- if (n == active_page)
- thunar_navigator_change_directory (THUNAR_NAVIGATOR (view), new_directory);
- else
- thunar_navigator_set_current_directory (THUNAR_NAVIGATOR (view), new_directory);
+ {
+ if (n == active_page)
+ thunar_navigator_change_directory (THUNAR_NAVIGATOR (view), new_directory);
+ else
+ thunar_navigator_set_current_directory (THUNAR_NAVIGATOR (view), new_directory);
+ }
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list