Patch 7.2b.001
Problem:    Compilation problem: mb_fix_col() missing with multi-byte feature
            but without GUI or clipboard.
Solution:   Remove #ifdef.
Files:      src/mbyte.c


*** ../vim-7.2b.000/src/mbyte.c Sun Jul 13 19:15:12 2008
--- src/mbyte.c Mon Jul 14 10:47:26 2008
***************
*** 2448,2455 ****
      return (q == p) ? 0 : 1;
  }
  
- #if defined(FEAT_CLIPBOARD) || defined(FEAT_GUI) || defined(FEAT_RIGHTLEFT) \
-       || defined(PROTO)
  /*
   * Special version of dbcs_head_off() that works for ScreenLines[], where
   * single-width DBCS_JPNU characters are stored separately.
--- 2448,2453 ----
***************
*** 2484,2490 ****
      }
      return (q == p) ? 0 : 1;
  }
- #endif
  
      int
  utf_head_off(base, p)
--- 2482,2487 ----
***************
*** 2934,2941 ****
                                        LineOffset[row] + screen_Columns) > 1;
  }
  
- # if defined(FEAT_CLIPBOARD) || defined(FEAT_GUI) || defined(FEAT_RIGHTLEFT) \
-       || defined(PROTO)
  /*
   * Correct a position on the screen, if it's the right halve of a double-wide
   * char move it to the left halve.  Returns the corrected column.
--- 2931,2936 ----
***************
*** 2956,2962 ****
        return col - 1;
      return col;
  }
- # endif
  #endif
  
  #if defined(FEAT_MBYTE) || defined(FEAT_POSTSCRIPT) || defined(PROTO)
--- 2951,2956 ----
*** ../vim-7.2b.000/src/version.c       Sun Jul 13 19:15:23 2008
--- src/version.c       Mon Jul 14 11:45:13 2008
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     1,
  /**/


-- 
A computer without Windows is like a fish without a bicycle.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui