mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
Made g_utf8_find_prev_char able to return the first character of a string.
2001-08-01 Christopher James Lahey <clahey@ximian.com> * glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char able to return the first character of a string.
This commit is contained in:
parent
57c5a11d7b
commit
149a0fb2bd
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-08-01 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* glib/gutf8.c (g_utf8_find_prev_char): Made g_utf8_find_prev_char
|
||||
able to return the first character of a string.
|
||||
|
||||
2001-07-31 Ron Steinke <rsteinke@w-link.net>
|
||||
|
||||
* glib/giochannel.h: Committed this file, which is where
|
||||
|
@ -129,7 +129,7 @@ gchar *
|
||||
g_utf8_find_prev_char (const char *str,
|
||||
const char *p)
|
||||
{
|
||||
for (--p; p > str; --p)
|
||||
for (--p; p >= str; --p)
|
||||
{
|
||||
if ((*p & 0xc0) != 0x80)
|
||||
return (gchar *)p;
|
||||
|
Loading…
Reference in New Issue
Block a user