diff --git a/tasks/task_decompress.c b/tasks/task_decompress.c index aedf1a7380..e0efb224fb 100644 --- a/tasks/task_decompress.c +++ b/tasks/task_decompress.c @@ -330,7 +330,7 @@ bool task_push_decompress( snprintf(tmp, sizeof(tmp), "%s '%s'", msg_hash_to_str(MSG_EXTRACTING), path_basename(source_file)); - task_set_title(t, strdup(tmp)); + t->title = strdup(tmp); task_queue_ctl(TASK_QUEUE_CTL_PUSH, t); diff --git a/tasks/task_http.c b/tasks/task_http.c index 9e16273e63..9413e9718f 100644 --- a/tasks/task_http.c +++ b/tasks/task_http.c @@ -293,7 +293,7 @@ void *task_push_http_transfer(const char *url, bool mute, const char *type, snprintf(tmp, sizeof(tmp), "%s '%s'", msg_hash_to_str(MSG_DOWNLOADING), path_basename(url)); - task_set_title(t, tmp); + t->title = strdup(tmp); task_queue_ctl(TASK_QUEUE_CTL_PUSH, t);