mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 01:35:29 +00:00
2005-03-29 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : special case ucs4 "0" conversion. [Fixes #74175] svn path=/trunk/gtk-sharp/; revision=42337
This commit is contained in:
parent
4e73c0c204
commit
9001c6fa25
|
@ -1,3 +1,8 @@
|
||||||
|
2005-03-29 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* glib/Marshaller.cs : special case ucs4 "0" conversion.
|
||||||
|
[Fixes #74175]
|
||||||
|
|
||||||
2005-03-28 Mike Kestner <mkestner@novell.com>
|
2005-03-28 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* gdk/Pixbuf.custom : add FromDrawable static method and obsolete
|
* gdk/Pixbuf.custom : add FromDrawable static method and obsolete
|
||||||
|
|
|
@ -211,6 +211,9 @@ namespace GLib {
|
||||||
|
|
||||||
public static char GUnicharToChar (uint ucs4_char)
|
public static char GUnicharToChar (uint ucs4_char)
|
||||||
{
|
{
|
||||||
|
if (ucs4_char == 0)
|
||||||
|
return (char) 0;
|
||||||
|
|
||||||
IntPtr raw_ret = gtksharp_unichar_to_utf8_string (ucs4_char);
|
IntPtr raw_ret = gtksharp_unichar_to_utf8_string (ucs4_char);
|
||||||
string ret = GLib.Marshaller.PtrToStringGFree(raw_ret);
|
string ret = GLib.Marshaller.PtrToStringGFree(raw_ret);
|
||||||
if (ret.Length > 1)
|
if (ret.Length > 1)
|
||||||
|
|
Loading…
Reference in a new issue