summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib/lib')
-rw-r--r--mpeglib/lib/util/render/x11/x11Surface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpeglib/lib/util/render/x11/x11Surface.cpp b/mpeglib/lib/util/render/x11/x11Surface.cpp
index d7b8f052..0f9231c0 100644
--- a/mpeglib/lib/util/render/x11/x11Surface.cpp
+++ b/mpeglib/lib/util/render/x11/x11Surface.cpp
@@ -298,7 +298,7 @@ int X11Surface::closeImage() {
imageCurrent=NULL;
XWindowAttributes attr;
- Window junkwin;
+ Window juntwin;
if (!IS_FULL(imageMode)) {
if (!XGetWindowAttributes(xWindow->display, xWindow->window, &attr))
@@ -307,7 +307,7 @@ int X11Surface::closeImage() {
XTranslateCoordinates (xWindow->display, xWindow->window, attr.root,
-attr.border_width,
-attr.border_width,
- &xWindow->x, &xWindow->y, &junkwin);
+ &xWindow->x, &xWindow->y, &juntwin);
}
imageMode=_IMAGE_NONE;