[ekiga/gnome-2-26] Fixed previous commit
- From: Eugen Dedu <ededu src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga/gnome-2-26] Fixed previous commit
- Date: Sat, 25 Jul 2009 19:37:33 +0000 (UTC)
commit 1e8f2877f9fd0a32f4e15d832ced83f74d675cbb
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]