Skip to content

Commit

Permalink
fix regression bug introduced by prev. commit (task->(large|normal)_p…
Browse files Browse the repository at this point in the history
…ath not assigned)
  • Loading branch information
juergenhoetzel committed Feb 24, 2010
1 parent 2333232 commit 04f93e8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/gtk/fm-thumbnail.c
Expand Up @@ -463,11 +463,17 @@ gpointer load_thumbnail_thread(gpointer user_data)

task->uri = uri;

if (task->flags & LOAD_NORMAL)
if (task->flags & LOAD_NORMAL)
{
memcpy( normal_basename, md5, 32 );
if (task->flags & LOAD_LARGE)
task->normal_path = normal_path;
}
if (task->flags & LOAD_LARGE)
{
memcpy( large_basename, md5, 32 );

task->large_path = large_path;
}

load_thumbnails(task);

g_checksum_reset(sum);
Expand Down

0 comments on commit 04f93e8

Please sign in to comment.