summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index dc0d1f332..3a6936fb7 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -3553,7 +3553,7 @@ update_status(hb_state_t *state, ghb_instance_status_t *status)
status->state &= ~GHB_STATE_SEARCHING;
}
#undef p
-#define p state->param.workdone
+#define p state->param.working
if (state->state & HB_STATE_WORKDONE)
{
status->state |= GHB_STATE_WORKDONE;
@@ -3561,6 +3561,7 @@ update_status(hb_state_t *state, ghb_instance_status_t *status)
status->state &= ~GHB_STATE_PAUSED;
status->state &= ~GHB_STATE_WORKING;
status->state &= ~GHB_STATE_SEARCHING;
+ status->unique_id = p.sequence_id;
switch (p.error)
{
case HB_ERROR_NONE: