Commit 8bc720ed authored by Harald Judt's avatar Harald Judt

Fix compiler warning because of missing curly braces

parent 8f860759
......@@ -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);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment