On Tue, 2010-08-31 at 14:18 +0200, Łukasz Czerwiński wrote:
> >
> > Passing a string literal directly to g_message() is also not a good
> > idea. Please use g_message("%s", message) instead. But I didn't
> > understand what this part of your patch is trying to achieve.
> >
> Why it's not a good idea? What's the difference? Nevertheless, ok,
> I'll change it.

Because if you write g_message(string) and string happens to be
"Format %s string %d attack %s", you are screwed :-)


Gimp-developer mailing list

Reply via email to