Commit 0a6e8fc0 authored by Vincent Sanders's avatar Vincent Sanders

fix beos throbber allocation

parent ff312f21
......@@ -64,7 +64,7 @@ bool nsbeos_throbber_initialise_from_png(const int frames, ...)
return false;
}
throb = (struct nsbeos_throbber *)malloc(sizeof(throb));
throb = (struct nsbeos_throbber *)malloc(sizeof(*throb));
throb->nframes = frames;
throb->framedata = (BBitmap **)malloc(sizeof(BBitmap *) * throb->nframes);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment