From 1c00a019e9c399cf6c018ba314202b2512882aa2 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 9 Apr 2009 05:55:51 +0000 Subject: [PATCH] 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 --- legacy/eina/src/include/eina_inline_stringshare.x | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/legacy/eina/src/include/eina_inline_stringshare.x b/legacy/eina/src/include/eina_inline_stringshare.x index 68188f0a0e..318aa2e5f9 100644 --- a/legacy/eina/src/include/eina_inline_stringshare.x +++ b/legacy/eina/src/include/eina_inline_stringshare.x @@ -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; }