on Tue, Feb 19, 2002 at 01:55:47PM +0100, Marc Bruenink wrote:
> Hi
> 
> > Further i've a problem using XGetFontPath() (segmentation fault) and i 
> > didn't find the fault. Perhaps somebody knows where to find a sample
> > source concerning font loading, listing aso. ?
> 
> okay this is my source code till now:
> 
>   char **ret;
>   int *icount;
>   
>   ret = XGetFontPath(dpy, icount);   <-- Segfaults here...
>   XSync(dpy, False);
>   

what about;

   char **ret;
   int icount;
   
   ret = XGetFontPath(dpy, &icount); 
   XSync(dpy, False);

 -- mallum
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to