summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XawIm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/XawIm.c b/src/XawIm.c
index 00562b5..78d116f 100644
--- a/src/XawIm.c
+++ b/src/XawIm.c
@@ -1547,11 +1547,10 @@ void
_XawImCallVendorShellExtResize(
Widget w)
{
- XawVendorShellExtPart *ve;
VendorShellWidget vw;
- if ((vw = SearchVendorShell(w)) && (ve = GetExtPart(vw))) {
- XawVendorShellExtResize(vw);
+ if ((vw = SearchVendorShell(w)) && GetExtPart(vw)) {
+ XawVendorShellExtResize((Widget)vw);
}
}