[gnote] Fix exception when getting file system sync addin name
- From: Aurimas Äernius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix exception when getting file system sync addin name
- Date: Fri, 3 Feb 2012 21:36:11 +0000 (UTC)
commit 27a675a9accd2ef3a33f785112346b50e12f205b
Author: Aurimas Äernius <aurisc4 gmail com>
Date: Thu Feb 2 22:59:37 2012 +0200
Fix exception when getting file system sync addin name
.../filesystemsyncserviceaddin.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/addins/filesystemsyncservice/filesystemsyncserviceaddin.cpp b/src/addins/filesystemsyncservice/filesystemsyncserviceaddin.cpp
index 4370caf..37d8ff4 100644
--- a/src/addins/filesystemsyncservice/filesystemsyncserviceaddin.cpp
+++ b/src/addins/filesystemsyncservice/filesystemsyncserviceaddin.cpp
@@ -234,7 +234,8 @@ bool FileSystemSyncServiceAddin::is_configured()
std::string FileSystemSyncServiceAddin::name()
{
- return _("Local Folder");
+ char *res = _("Local Folder");
+ return res ? res : "";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]