MapInfo: Fix ArgumentOutOfRangeException
Respect the value's length so there is no exception when value doesn't contain size's bytes.
This commit is contained in:
parent
0c840b69af
commit
2bf30fd612
@ -34,7 +34,7 @@ namespace Gst {
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
Marshal.Copy (value, 0, _data, Data.Length);
|
Marshal.Copy (value, 0, _data, value.Length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user