summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-14 21:04:51 +0000
committerJabiertxof <jtx@jtx>2017-01-14 21:04:51 +0000
commit8577338d1da18580f412cfb38013e3cc709570a2 (patch)
tree6714a8cb09e9073428ba1b28fe0c7df107463029 /src/color-profile.cpp
parentfixing crash on erase (diff)
parent[Bug #1654892] Few typos in Calligraphy tutorial. (diff)
downloadinkscape-8577338d1da18580f412cfb38013e3cc709570a2.tar.gz
inkscape-8577338d1da18580f412cfb38013e3cc709570a2.zip
Update to trunk
(bzr r15392.1.4)
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