Explorar el Código

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

tags/v0.99.beta14
Sam Hocevar sam hace 19 años
padre
commit
bc29d9f28b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      test/export.c

+ 1
- 1
test/export.c Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar