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:
Carsten Haitzler 2009-04-09 05:55:51 +00:00
parent 2e9a9a9700
commit 1c00a019e9
1 changed files with 4 additions and 4 deletions

View File

@ -26,13 +26,13 @@
*/
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);
if (*p_str == new)
if (*p_str == news)
return 0;
*p_str = new;
*p_str = news;
return 1;
}