зеркало из https://github.com/mono/ikvm-fork.git
Fix a NullReferenceException
This commit is contained in:
Родитель
3d4dd768d1
Коммит
38de80d343
|
@ -282,6 +282,10 @@ namespace ikvm.awt
|
|||
|
||||
internal static Region ConvertRegion(sun.java2d.pipe.Region shape)
|
||||
{
|
||||
if (shape == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
if (shape.isRectangular())
|
||||
{
|
||||
int x = shape.getLoX();
|
||||
|
|
Загрузка…
Ссылка в новой задаче