modif sortie dans le fichier

This commit is contained in:
Jeremy FLEURY 2019-07-17 12:42:58 +02:00
commit 0853f82bf1

View File

@ -18,7 +18,7 @@ static int print_logo(t_vm *vm)
char buf[ART_MAX_SIZE + 1]; char buf[ART_MAX_SIZE + 1];
int rd; int rd;
fd = open("./art/corewar_3D_logo.txt", O_RDONLY); fd = open("./srcs/art/corewar_3D_logo.txt", O_RDONLY);
if ((rd = read(fd, &buf, ART_MAX_SIZE)) == -1) if ((rd = read(fd, &buf, ART_MAX_SIZE)) == -1)
{ {
destroy_ncurses_exit(vm); destroy_ncurses_exit(vm);