[libbluray-devel] Fix update region
hpi1
git at videolan.org
Tue Apr 30 08:42:00 CEST 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 30 09:23:48 2013 +0300| [0f35d4f24dcd4036da4439431224ca0f41c82049] | committer: hpi1
Fix update region
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=0f35d4f24dcd4036da4439431224ca0f41c82049
---
src/libbluray/bdj/java/java/awt/BDRootWindow.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/java/java/awt/BDRootWindow.java b/src/libbluray/bdj/java/java/awt/BDRootWindow.java
index f02e89f..7ac35b9 100644
--- a/src/libbluray/bdj/java/java/awt/BDRootWindow.java
+++ b/src/libbluray/bdj/java/java/awt/BDRootWindow.java
@@ -88,7 +88,7 @@ public class BDRootWindow extends Frame {
if ((dirty.width | dirty.height) >= 0) {
Libbluray.updateGraphic(getWidth(), getHeight(), backBuffer, dirty.x, dirty.y,
- dirty.x + dirty.width, dirty.y + dirty.height);
+ dirty.x + dirty.width - 1, dirty.y + dirty.height - 1);
}
dirty.setSize(-1, -1);
}
More information about the libbluray-devel
mailing list