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

This commit is contained in:
Colin Walters 2012-10-15 18:35:54 -04:00
parent 1642310486
commit bdbf76b6eb
1 changed files with 1 additions and 1 deletions

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;
}
}