Commit 9eeb9297 authored by Behdad Esfahbod's avatar Behdad Esfahbod

Remove unneeded strlen.

svn path=/trunk/; revision=5205
parent d2a9b31e
......@@ -144,7 +144,6 @@ _g_utf8_strwidth (const gchar *p,
glong len = 0;
const gchar *start = p;
g_return_val_if_fail (p != NULL || max == 0, 0);
max = strlen (p);
if (max < 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment