mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 17:26:17 +01:00
actually enable (and fix up the length test).
Wed Dec 1 17:04:37 2004 Manish Singh <yosh@gimp.org> * glib/gstring.h (g_string_append_c_inline): actually enable (and fix up the length test).
This commit is contained in:
parent
82e7944020
commit
fb887c5ee7
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 1 17:04:37 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstring.h (g_string_append_c_inline): actually enable (and
|
||||||
|
fix up the length test).
|
||||||
|
|
||||||
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 1 17:04:37 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstring.h (g_string_append_c_inline): actually enable (and
|
||||||
|
fix up the length test).
|
||||||
|
|
||||||
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 1 17:04:37 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstring.h (g_string_append_c_inline): actually enable (and
|
||||||
|
fix up the length test).
|
||||||
|
|
||||||
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 1 17:04:37 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstring.h (g_string_append_c_inline): actually enable (and
|
||||||
|
fix up the length test).
|
||||||
|
|
||||||
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 1 17:04:37 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* glib/gstring.h (g_string_append_c_inline): actually enable (and
|
||||||
|
fix up the length test).
|
||||||
|
|
||||||
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
2004-11-30 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
* glib/Makefile.am (glib.def): gcc -E complains "linker input file
|
||||||
|
@ -122,7 +122,7 @@ static inline GString*
|
|||||||
g_string_append_c_inline (GString *gstring,
|
g_string_append_c_inline (GString *gstring,
|
||||||
gchar c)
|
gchar c)
|
||||||
{
|
{
|
||||||
if (gstring->len < gstring->allocated_len && 0)
|
if (gstring->len + 1 < gstring->allocated_len)
|
||||||
{
|
{
|
||||||
gstring->str[gstring->len++] = c;
|
gstring->str[gstring->len++] = c;
|
||||||
gstring->str[gstring->len] = 0;
|
gstring->str[gstring->len] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user