WolframAutomata_reshape(Display * dpy, Window win, void * closure, unsigned int w, unsigned int h)
{
WolframAutomata_free(dpy, win, closure);
- WolframAutomata_init(dpy, win);
+ closure = WolframAutomata_init(dpy, win);
}
XSCREENSAVER_MODULE ("1D Nearest-Neighbor Cellular Automata", WolframAutomata)