[ekiga/gnome-2-26] Really fix previous commit
- From: Eugen Dedu <ededu src gnome org>
- To: svn-commits-list gnome org
- Subject: [ekiga/gnome-2-26] Really fix previous commit
- Date: Mon, 27 Jul 2009 13:51:01 +0000 (UTC)
commit 635492428f4ea7581de713b01289187ba20f0811
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]