mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 16:08:43 +02:00
Unit tests for g_utf8_pointer_to_offset and g_utf8_offset_to_pointer.
2005-11-17 Matthias Clasen <mclasen@redhat.com> * tests/Makefile.am: * tests/utf8-pointer.c: Unit tests for g_utf8_pointer_to_offset and g_utf8_offset_to_pointer. * glib/gutf8.c (g_utf8_pointer_to_offset) (g_utf8_offset_to_pointer): Handle negative offsets, and use "stutter stepping" for going backwards. (#320638, Larry Ewing)
This commit is contained in:
committed by
Matthias Clasen
parent
92ea153ae9
commit
1ee0917984
@@ -1,5 +1,14 @@
|
||||
2005-11-17 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/Makefile.am:
|
||||
* tests/utf8-pointer.c: Unit tests for g_utf8_pointer_to_offset
|
||||
and g_utf8_offset_to_pointer.
|
||||
|
||||
* glib/gutf8.c (g_utf8_pointer_to_offset)
|
||||
(g_utf8_offset_to_pointer): Handle negative offsets, and use
|
||||
"stutter stepping" for going backwards. (#320638, Larry
|
||||
Ewing)
|
||||
|
||||
* glib/gbacktrace.c:
|
||||
* glib/gdate.c:
|
||||
* glib/gthread.c: const correctness fixes, found
|
||||
|
Reference in New Issue
Block a user