summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-01-28 11:44:56 +0000
committerShlomi Fish <shlomif@shlomifish.org>2017-01-28 11:44:56 +0000
commita11b9b0b60b4559cd9ffea150c7171fac7bec978 (patch)
treec79f0b3b79479ca4a22fecd442c857032543c25b /src/color-profile.cpp
parentMerged. (diff)
parentrevert 15420 because of severe regression (diff)
downloadinkscape-a11b9b0b60b4559cd9ffea150c7171fac7bec978.tar.gz
inkscape-a11b9b0b60b4559cd9ffea150c7171fac7bec978.zip
Merged.
(bzr r15369.1.17)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 7a4dcc1cd..cbd3475b4 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -781,7 +781,7 @@ std::vector<std::pair<Glib::ustring, bool> > ColorProfile::getBaseProfileDirs()
static bool isIccFile( gchar const *filepath )
{
bool isIccFile = false;
- struct stat st;
+ GStatBuf st;
if ( g_stat(filepath, &st) == 0 && (st.st_size > 128) ) {
//0-3 == size
//36-39 == 'acsp' 0x61637370