Karsten Hopp e663e5
To: vim_dev@googlegroups.com
Karsten Hopp e663e5
Subject: Patch 7.3.572
Karsten Hopp e663e5
Fcc: outbox
Karsten Hopp e663e5
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e663e5
Mime-Version: 1.0
Karsten Hopp e663e5
Content-Type: text/plain; charset=UTF-8
Karsten Hopp e663e5
Content-Transfer-Encoding: 8bit
Karsten Hopp e663e5
------------
Karsten Hopp e663e5
Karsten Hopp e663e5
Patch 7.3.572
Karsten Hopp e663e5
Problem:    Duplicate statement in if and else. (Dominique Pelle)
Karsten Hopp e663e5
Solution:   Remove the condition and add a TODO.
Karsten Hopp e663e5
Files:	    src/gui_xmebw.c
Karsten Hopp e663e5
Karsten Hopp e663e5
Karsten Hopp e663e5
*** ../vim-7.3.571/src/gui_xmebw.c	2010-08-15 21:57:29.000000000 +0200
Karsten Hopp e663e5
--- src/gui_xmebw.c	2012-06-29 13:17:15.000000000 +0200
Karsten Hopp e663e5
***************
Karsten Hopp e663e5
*** 375,385 ****
Karsten Hopp e663e5
  
Karsten Hopp e663e5
      XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
Karsten Hopp e663e5
  
Karsten Hopp e663e5
!     if (eb->enhancedbutton.label_location == (int)XmTOP
Karsten Hopp e663e5
! 	    || eb->enhancedbutton.label_location == (int)XmBOTTOM)
Karsten Hopp e663e5
! 	shift = eb->primitive.shadow_thickness / 2;
Karsten Hopp e663e5
!     else
Karsten Hopp e663e5
! 	shift = eb->primitive.shadow_thickness / 2;
Karsten Hopp e663e5
  
Karsten Hopp e663e5
      if (shift < 1)
Karsten Hopp e663e5
  	shift = 1;
Karsten Hopp e663e5
--- 375,382 ----
Karsten Hopp e663e5
  
Karsten Hopp e663e5
      XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
Karsten Hopp e663e5
  
Karsten Hopp e663e5
!     /* TODO: does the shift depend on label_location somehow? */
Karsten Hopp e663e5
!     shift = eb->primitive.shadow_thickness / 2;
Karsten Hopp e663e5
  
Karsten Hopp e663e5
      if (shift < 1)
Karsten Hopp e663e5
  	shift = 1;
Karsten Hopp e663e5
*** ../vim-7.3.571/src/version.c	2012-06-29 13:13:59.000000000 +0200
Karsten Hopp e663e5
--- src/version.c	2012-06-29 13:18:41.000000000 +0200
Karsten Hopp e663e5
***************
Karsten Hopp e663e5
*** 716,717 ****
Karsten Hopp e663e5
--- 716,719 ----
Karsten Hopp e663e5
  {   /* Add new patch number below this line */
Karsten Hopp e663e5
+ /**/
Karsten Hopp e663e5
+     572,
Karsten Hopp e663e5
  /**/
Karsten Hopp e663e5
Karsten Hopp e663e5
-- 
Karsten Hopp e663e5
hundred-and-one symptoms of being an internet addict:
Karsten Hopp e663e5
72. Somebody at IRC just mentioned a way to obtain full motion video without
Karsten Hopp e663e5
    a PC using a wireless protocol called NTSC, you wonder how you never
Karsten Hopp e663e5
    heard about it
Karsten Hopp e663e5
Karsten Hopp e663e5
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e663e5
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e663e5
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp e663e5
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///