summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-10-06 00:18:46 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-10-06 00:18:46 +0000
commit7d38f876e8a4c5ab60261f61452fa2bf8baf13f3 (patch)
tree8d93f93ef7634ca78637b55edb9de4401669b2bb /src/color-profile.cpp
parentAdd missing file to CMakeLists (diff)
parentRemove unused functions. (diff)
downloadinkscape-7d38f876e8a4c5ab60261f61452fa2bf8baf13f3.tar.gz
inkscape-7d38f876e8a4c5ab60261f61452fa2bf8baf13f3.zip
Update to trunk r13580
(bzr r13341.1.255)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index aa0750c00..28550b75d 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -19,6 +19,7 @@
#include <gtk/gtk.h>
#endif // DEBUG_LCMS
+#include <unistd.h>
#include <cstring>
#include <string>
#include <io/sys.h>
@@ -910,7 +911,7 @@ Glib::ustring getNameFromProfile(cmsHPROFILE profile)
if ( name && !g_utf8_validate(name, -1, NULL) ) {
name = _("(invalid UTF-8 string)");
}
- nameStr = (name) ? name : _("None");
+ nameStr = (name) ? name : C_("Profile name", "None");
#elif HAVE_LIBLCMS2
cmsUInt32Number byteLen = cmsGetProfileInfo(profile, cmsInfoDescription, "en", "US", NULL, 0);
if (byteLen > 0) {