diff --git a/tasks/task_decompress.c b/tasks/task_decompress.c index e0efb224fb..aedf1a7380 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)); - t->title = strdup(tmp); + task_set_title(t, strdup(tmp)); task_queue_ctl(TASK_QUEUE_CTL_PUSH, t); diff --git a/tasks/task_http.c b/tasks/task_http.c index 9413e9718f..9e16273e63 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)); - t->title = strdup(tmp); + task_set_title(t, tmp); task_queue_ctl(TASK_QUEUE_CTL_PUSH, t);