fix stringshare of small strings.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 12 Nov 2009 19:41:02 +0000 (19:41 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 12 Nov 2009 19:41:02 +0000 (19:41 +0000)
commit7df346f50eea856a36e1d24e96868e12e9a2c75d
treea79275d08eb49c5793620909a3f4d65ef68a11da
parentbc674aaaebbb1657bced60c81170c1413224e719
fix stringshare of small strings.

_eina_stringshare_small_bucket_find() was receiving the plength with
size -1 since the first character is the same, but inside it was not
doing the same, thus it was always failing the first test based on
size.

SVN revision: 43634
legacy/eina/src/lib/eina_stringshare.c