Evas textblock: make an if look nicer (no logic change).

This makes things simpler and less confusing and might have prevented
the issue Stefan fixed in 4f484b81d4
from happenning in the first place.
This commit is contained in:
Tom Hacohen 2013-08-09 15:46:40 +01:00
parent 5afa29af59
commit 76eceda2ee
1 changed files with 1 additions and 1 deletions

View File

@ -5817,7 +5817,7 @@ _escaped_char_get(const char *s, const char *s_end)
}
len = s_end - s;
if (len >= sizeof(ustr) + 1)
if (len > sizeof(ustr))
len = sizeof(ustr);
memcpy(ustr, s, len);