Correct thinko in previous commit
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 May 2019 04:55:07 +0000 (06:55 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 May 2019 04:55:07 +0000 (06:55 +0200)
src/output/driver.c

index 44aa2558247394b3c81f6f5341ebead2ca501437..e4227b8ca5026438376dbc59a911dcb8bd49d49d 100644 (file)
@@ -76,7 +76,7 @@ static struct output_engine *
 engine_stack_top (void)
 {
   struct ll *head = ll_head (&engine_stack);
-  if (ll_is_empty (head))
+  if (ll_is_empty (&engine_stack))
     return NULL;
   return ll_data (head, struct output_engine, ll);
 }