emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99827: Move declaration before other


From: jhd
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99827: Move declaration before other statements.
Date: Sun, 04 Apr 2010 17:29:42 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99827
committer: jhd <address@hidden>
branch nick: trunk
timestamp: Sun 2010-04-04 17:29:42 +0200
message:
  Move declaration before other statements.
modified:
  src/xfns.c
=== modified file 'src/xfns.c'
--- a/src/xfns.c        2010-04-04 10:47:12 +0000
+++ b/src/xfns.c        2010-04-04 15:29:42 +0000
@@ -3156,6 +3156,7 @@
   XTextProperty text;
   int bytes, stringp;
   int do_free_text_value = 0;
+  long pid = (long)getpid();
 
   text.value = x_encode_text (Vsystem_name,
                               Qcompound_text, 0, &bytes, &stringp,
@@ -3170,7 +3171,6 @@
   if (do_free_text_value)
     xfree (text.value);
 
-  long pid = (long)getpid();
   XChangeProperty (FRAME_X_DISPLAY (f),
                    FRAME_OUTER_WINDOW (f),
                    XInternAtom (FRAME_X_DISPLAY (f),


reply via email to

[Prev in Thread] Current Thread [Next in Thread]