[ekiga] Really fix previous commit



commit 3ab11c54cc786dd7bbbcf722b60dcdb16ccbe519
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Mon Jul 27 15:49:59 2009 +0200

    Really fix previous commit

 lib/engine/components/ptlib/utils.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/ptlib/utils.cpp b/lib/engine/components/ptlib/utils.cpp
index 5d675fc..4b16ba6 100644
--- a/lib/engine/components/ptlib/utils.cpp
+++ b/lib/engine/components/ptlib/utils.cpp
@@ -54,7 +54,7 @@ latin2utf (const std::string str)
 #endif
   g_warn_if_fail (utf8_str != NULL);
   if (utf8_str == NULL)  /* conversion error */
-    return NULL;
+    return "";
   result = std::string (utf8_str);
   g_free (utf8_str);
   return result;
@@ -78,7 +78,7 @@ utf2latin (const std::string str)
 #endif
   g_warn_if_fail (latin_str != NULL);
   if (latin_str == NULL)  /* conversion error */
-    return NULL;
+    return "";
   result = std::string (latin_str);
   g_free (latin_str);
   return result;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]