Browse Source

CSC want mb_str initialized explicitly

pull/2/head
Rémi Denis-Courmont 19 years ago
parent
commit
3b24180294
  1. 2
      bindings/cil/src/ustring.cs

2
bindings/cil/src/ustring.cs

@ -36,6 +36,7 @@ namespace VideoLAN.LibVLC
public U8String (string value) public U8String (string value)
{ {
mb_str = null;
if (value == null) if (value == null)
return; return;
@ -47,6 +48,7 @@ namespace VideoLAN.LibVLC
public U8String (IntPtr ptr) public U8String (IntPtr ptr)
{ {
mb_str = null;
if (ptr == IntPtr.Zero) if (ptr == IntPtr.Zero)
return; return;

Loading…
Cancel
Save