]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_handle_net_wm_state): Move declaration of lval before
authorDan Nicolaescu <dann@ics.uci.edu>
Sat, 2 May 2009 20:16:55 +0000 (20:16 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sat, 2 May 2009 20:16:55 +0000 (20:16 +0000)
any statements.

src/ChangeLog
src/xterm.c

index 83cbb6f6b2d5b2afaed290b16db224c173cd122d..66ec4f39f4dcbcc095590fa34027ef0a3deeb7f7 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * xterm.c (x_handle_net_wm_state): Move declaration of lval before
+       any statements.
+
 2009-05-02  Andreas Schwab  <schwab@linux-m68k.org>
 
        * process.c (read_process_output): Make sure the current buffer is
index e5f8a0c17c91455b7f453a483aad5b3c487bd9ef..f12250085ee439ee8abb016bfb095ef9ac04a508 100644 (file)
@@ -8689,6 +8689,7 @@ x_handle_net_wm_state (f, event)
   Display *dpy = FRAME_X_DISPLAY (f);
   unsigned char *tmp_data = NULL;
   Atom target_type = XA_ATOM;
+  Lisp_Object lval;
 
   BLOCK_INPUT;
   x_catch_errors (dpy);
@@ -8718,7 +8719,7 @@ x_handle_net_wm_state (f, event)
         value |= FULLSCREEN_BOTH;
     }
 
-  Lisp_Object lval = Qnil;
+  lval = Qnil;
   switch (value) 
     {
     case FULLSCREEN_WIDTH: