[ekiga] Fixed previous commit



commit f621ea4001330f91d74e37350569aa36f4e2944d
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Sat Jul 25 21:37:05 2009 +0200

    Fixed previous commit

 lib/engine/components/ptlib/utils.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/components/ptlib/utils.cpp b/lib/engine/components/ptlib/utils.cpp
index 63a9a07..5d675fc 100644
--- a/lib/engine/components/ptlib/utils.cpp
+++ b/lib/engine/components/ptlib/utils.cpp
@@ -44,8 +44,6 @@ latin2utf (const std::string str)
   gchar *utf8_str;
   std::string result;
 
-  if (str == NULL)
-    return NULL;
 #ifdef WIN32
   utf8_str = g_locale_to_utf8 (str.c_str (), -1,
                                NULL, NULL, NULL);
@@ -69,8 +67,6 @@ utf2latin (const std::string str)
   gchar *latin_str;
   std::string result;
 
-  if (str == NULL)
-    return NULL;
   g_warn_if_fail (g_utf8_validate (str.c_str (), -1, NULL));
 #ifdef WIN32
   latin_str = g_locale_from_utf8 (str.c_str (), -1,



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