revert(encoding_util.go): revert

This commit is contained in:
liu_zheng
2020-05-15 14:17:02 +08:00
parent d8f5d1d7f5
commit 544f8ce4ad

View File

@@ -58,7 +58,7 @@ func (c *VncCanvas) Reset(rect *Rectangle) {
}
func (c *VncCanvas) RemoveCursor() image.Image {
if c == nil || c.Cursor == nil || c.CursorLocation == nil {
if c.Cursor == nil || c.CursorLocation == nil {
return c.Image
}
if !c.DrawCursor {