From: Dana Jansens Date: Mon, 26 May 2003 16:36:09 +0000 (+0000) Subject: oops, prototypes don't have an instance X-Git-Tag: gl2~121 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=66ddef11f534d1e44435add852be913558c8bcc5;p=dana%2Fopenbox.git oops, prototypes don't have an instance --- diff --git a/render2/surface.c b/render2/surface.c index bd77dca9..003dadd3 100644 --- a/render2/surface.c +++ b/render2/surface.c @@ -27,7 +27,7 @@ struct RrSurface *RrSurfaceNewProto(enum RrSurfaceType type, struct RrSurface *sur; sur = surface_new(type, numtex); - sur->inst = inst; + sur->inst = NULL; sur->win = None; sur->parent = NULL; return sur;