Re: [gtk-list] gtkwidget + sprintf = bug ??
- From: John Ellis <johne bellatlantic net>
- To: ryo <P Loubigniac bton ac uk>
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] gtkwidget + sprintf = bug ??
- Date: Sat, 30 May 1998 12:56:32 -0400
>I have a problem when combining sprintf and 6 declarations of widget
>pointers. Sounds strange but I can explain. Look at the function end of
>Hope someone will be abble to help.
It looks like you declared str as a pointer:
Then printed to it without allocating the space:
or malloc the space first.
John Ellis <email@example.com>
] [Thread Prev