2008-03-10 Matthias Clasen <mclasen@redhat.com>
* glib/giochannel.c (g_io_channle_set_encoding): Fix confusing
error message. (#521028, Peter Kjellerstedt)
svn path=/trunk/; revision=6654
+2008-03-10 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/giochannel.c (g_io_channle_set_encoding): Fix confusing
+ error message. (#521028, Peter Kjellerstedt)
+
2008-03-10 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c: Still set the udddocs and uddpubshare
if (read_cd == (GIConv) -1)
{
err = errno;
- from_enc = "UTF-8";
- to_enc = encoding;
+ from_enc = encoding;
+ to_enc = "UTF-8";
}
}
else
if (write_cd == (GIConv) -1)
{
err = errno;
- from_enc = encoding;
- to_enc = "UTF-8";
+ from_enc = "UTF-8";
+ to_enc = encoding;
}
}
else