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