core: Ensure correct file data is synced in non-overwrite case

This commit is contained in:
Colin Walters committed 2012-10-15 18:44:55 -04:00
1 parent 1642310486
commit bdbf76b6eb
1 file changed
+1 -1
+1 -1
View File
@@ -3180,7 +3180,7 @@ checkout_file_from_input (GFile *file,
if (g_file_info_get_file_type (temp_info) == G_FILE_TYPE_REGULAR)
{
if (!ensure_file_data_synced (temp_file, cancellable, error))
if (!ensure_file_data_synced (file, cancellable, error))
goto out;
}
}