quick fix for large previews

This commit is contained in:
Sven Neumann 2004-09-27 19:51:28 +00:00
parent 0527d02329
commit e29c3cd230
1 changed files with 4 additions and 4 deletions

View File

@ -125,10 +125,10 @@ stretch_frame_image (GdkPixbuf *frame_image,
target_frame_width = frame_width - left_offset - right_offset;
target_frame_height = frame_height - top_offset - bottom_offset;
left_offset += MIN (target_width / 2, target_frame_width / 2);
right_offset += MIN (target_width / 2, target_frame_width / 2);
top_offset += MIN (target_height / 2, target_frame_height / 2);
bottom_offset += MIN (target_height / 2, target_frame_height / 2);
left_offset += MIN (target_width / 4, target_frame_width / 4);
right_offset += MIN (target_width / 4, target_frame_width / 4);
top_offset += MIN (target_height / 4, target_frame_height / 4);
bottom_offset += MIN (target_height / 4, target_frame_height / 4);
target_width = dest_width - left_offset - right_offset;
target_height = dest_height - top_offset - bottom_offset;