[util] Move variable closer to use
This commit is contained in:
parent
630f09c8b6
commit
8f15fb1252
|
@ -61,11 +61,11 @@ struct shape_consumer_t : shape_options_t
|
|||
|
||||
for (unsigned int n = num_iterations; n; n--)
|
||||
{
|
||||
const char *error = nullptr;
|
||||
|
||||
populate_buffer (buffer, text, text_len, app.text_before, app.text_after);
|
||||
if (n == 1)
|
||||
output.consume_text (buffer, text, text_len, utf8_clusters);
|
||||
|
||||
const char *error = nullptr;
|
||||
if (!shape (app.font, buffer, &error))
|
||||
{
|
||||
failed = true;
|
||||
|
|
Loading…
Reference in New Issue