From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 19 Feb 2011 15:39:19 +0000 (15:39 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 19 Feb 2011 15:39:19 +0000 (15:39 +0000)
commit0c5eff88f17524526b315349be59c317ec131274
tree8e230f2ec278f2987a65672d22f0fd49bdb9169e
parent8224be34d176d9373ee42484297149f0a9e5727b
From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] elm_label - bugfix at string manipulation

ear Elementary developers.

It's a elm_label bugfix.
It has two small improvements.
1. Current code can be reference null ptr.

-                  replocater = curlocater + key_len + 1;
-                  while ((*replocater != '=') && (replocater))
                                                             ^^^
                                                             -
         replocater++;

         It should be *replocater, not replocater

         2. there are two while loop to find a separate character in
string.
I changed it from loop to strchr.

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@57161 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/elm_label.c