X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fstreams-handles.cpp;h=9c6e861f80aeca9dd8fde44ee184461762430177;hb=aad22c707d75a4234d103f243de994964c365cea;hp=0990d05897dd09acb1cb8e3678fd8451efb4dd79;hpb=6b15695578f07a3f72c4c9475c1a261a3021472a;p=inkscape.git diff --git a/src/streams-handles.cpp b/src/streams-handles.cpp index 0990d0589..9c6e861f8 100644 --- a/src/streams-handles.cpp +++ b/src/streams-handles.cpp @@ -29,7 +29,7 @@ int FileHandle::open(URI const& uri, char const* mode) } FILE *FileHandle::sys_open(URI const& uri, char const* mode) -{ +{ gchar *filename = uri.toNativeFilename(); if ((fp = std::fopen(filename, mode)) == 0) { @@ -83,8 +83,8 @@ int FileHandle::sys_write (void const *buf, int buflen) throw(WriteException) error("fwrite"); throw WriteException(); } - - return nbytes; + + return nbytes; } int FileHandle::seek(long offset, int whence)