diff src/input-method-xlib.c @ 4710:3a87551bfeb5

Fixes for a number of minor warnings issued by gcc. See xemacs-patches message <870180fe0910051206s13dca5c3j6303732e33c478f5@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Mon, 05 Oct 2009 13:07:34 -0600
parents 726060ee587c
children 0ca81354c4c7
line wrap: on
line diff
--- a/src/input-method-xlib.c	Mon Oct 05 11:08:59 2009 -0600
+++ b/src/input-method-xlib.c	Mon Oct 05 13:07:34 2009 -0600
@@ -895,7 +895,8 @@
   char xwincmd[128];
   sprintf (xwincmd, "xwininfo -id 0x%x >&2; xwininfo -events -id 0x%x >&2",
            (int) win, (int) win);
-  system (xwincmd);
+  if (system (xwincmd) == -1)
+    stderr_out ("Unable to execute xwininfo\n");
 }
 
 void