Re: g_string_insert_c



On Sat, 27 Nov 2004 16:53:52 +0100, Sven Neumann <sven gimp org> wrote:
> Hi,
> 
> Neil Zanella <nzanella gmail com> writes:
> 
> > I would like to know whether g_string_insert_c inserts the character
> > before the character at the specified position or after.
> 
> It inserts the character at the specified position. Not before, not
> after, but at the specified position. What's not clear about this?

You're right, it's clear. :O)
The character at that position is moved forward, so the inserted character
ends up being before the character at that position. Well, it is clear, I must
have been very tired when I wrote that message. Sorry. :O) :O)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]