forked from enlightenment/efl
new -> news. people with g++ using eina in their c++ stuff will be most
un-amused by the use of a variable called "new". SVN revision: 39905
This commit is contained in:
parent
2e9a9a9700
commit
1c00a019e9
|
@ -26,13 +26,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static inline Eina_Bool
|
static inline Eina_Bool
|
||||||
eina_stringshare_replace(const char **p_str, const char *new)
|
eina_stringshare_replace(const char **p_str, const char *news)
|
||||||
{
|
{
|
||||||
new = eina_stringshare_add(new);
|
news = eina_stringshare_add(news);
|
||||||
eina_stringshare_del(*p_str);
|
eina_stringshare_del(*p_str);
|
||||||
if (*p_str == new)
|
if (*p_str == news)
|
||||||
return 0;
|
return 0;
|
||||||
*p_str = new;
|
*p_str = news;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue