Sun, 25 Aug 2002 13:21:28 +0000
cloning an input context wasn't updating last_input_context
semantics.c | file | annotate | diff | revisions |
1.1 --- a/semantics.c Wed Jan 30 08:55:53 2002 +0000 1.2 +++ b/semantics.c Sun Aug 25 13:21:28 2002 +0000 1.3 @@ -170,6 +170,7 @@ 1.4 memcpy (new_input_context, last_input_context, sizeof (input_context_t)); 1.5 new_input_context->image_count = 0; 1.6 last_input_context->next = new_input_context; 1.7 + last_input_context = new_input_context; 1.8 } 1.9 1.10 void input_set_file (char *name) 1.11 @@ -527,6 +528,7 @@ 1.12 if (has_page_size) 1.13 printf (" size %f, %f", page_size.width, page_size.height); 1.14 printf ("\n"); 1.15 + printf ("context: %08x\n", image->input_context); 1.16 } 1.17 } 1.18