mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-12 12:14:06 +02:00
Remove unneeded strlen.
svn path=/trunk/; revision=5205
This commit is contained in:
@@ -144,7 +144,6 @@ _g_utf8_strwidth (const gchar *p,
|
|||||||
glong len = 0;
|
glong len = 0;
|
||||||
const gchar *start = p;
|
const gchar *start = p;
|
||||||
g_return_val_if_fail (p != NULL || max == 0, 0);
|
g_return_val_if_fail (p != NULL || max == 0, 0);
|
||||||
max = strlen (p);
|
|
||||||
|
|
||||||
if (max < 0)
|
if (max < 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user