From ca9d69e7e53354800b57421d7b0e90191c604d2c Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Tue, 25 Sep 2018 00:14:20 +0200 Subject: Purge gunichar from Inkscapestream None of these functions seems to expect an actual gunichar (which is a 32-bit type and can hold any UTF-32 or UCS-4 character code, also known as a Unicode code point). Instead we want UTF-8 encoded character data (i.e. gchar, which is equivalent to char) that can be output byte-wise to form a valid UTF-8 encoded string. --- src/io/bufferstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io/bufferstream.cpp') diff --git a/src/io/bufferstream.cpp b/src/io/bufferstream.cpp index 9a79f4e1b..235c0de77 100644 --- a/src/io/bufferstream.cpp +++ b/src/io/bufferstream.cpp @@ -135,7 +135,7 @@ void BufferOutputStream::flush() /** * Writes the specified byte to this output stream. */ -int BufferOutputStream::put(gunichar ch) +int BufferOutputStream::put(char ch) { if (closed) return -1; -- cgit v1.2.3