summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eina_stringshare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina_stringshare.c b/src/lib/eina_stringshare.c
index 651d5e6..245b768 100644
--- a/src/lib/eina_stringshare.c
+++ b/src/lib/eina_stringshare.c
@@ -659,7 +659,7 @@ eina_stringshare_add_length(const char *str, unsigned int slen)
659 659
660 if (!str) 660 if (!str)
661 return NULL; 661 return NULL;
662 else if (slen == 0)) 662 else if (slen == 0)
663 return ""; 663 return "";
664 else if (slen == 1) 664 else if (slen == 1)
665 return (const char *)_eina_stringshare_single + ((*str) << 1); 665 return (const char *)_eina_stringshare_single + ((*str) << 1);