Re: [dev] [sent] initialize .img
Szabolcs Nagy wrote: > without the attached patch ./sent example segfaults here Heyho, thanks, I applied the fix. --Markus
[dev] [sent] initialize .img
without the attached patch ./sent example segfaults here diff --git a/sent.c b/sent.c index 1b3b8f2..fb0b56e 100644 --- a/sent.c +++ b/sent.c @@ -394,6 +394,8 @@ void load(FILE *fp) die("cannot strdup %u bytes:", strlen(buf)+1); if (slides[i].text[0] == '@') slides[i].img = pngopen(slide