Browse Source

* Fixed test/export that was not printing the last character of the file.

tags/v0.99.beta14
Sam Hocevar sam 19 years ago
parent
commit
bc29d9f28b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/export.c

+ 1
- 1
test/export.c View File

@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
cucul_putstr(qq, WIDTH / 2 - 7, HEIGHT / 2, " LIBCACA ");

buffer = cucul_create_export(qq, argv[1]);
fwrite(buffer->buffer, buffer->size - 1, 1, stdout);
fwrite(buffer->buffer, buffer->size, 1, stdout);
cucul_free_export(buffer);

cucul_free(qq);


Loading…
Cancel
Save