home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.094 < prev    next >
Encoding:
Internet Message Format  |  2001-12-11  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.094
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.094
  11. Problem:    Athena: When clicking in the horizontal scrollbar Vim crashes.
  12.         (Paul Ackersviller)
  13. Solution:   Use the thumb size instead of the window pointer of the scrollbar
  14.         (which is NULL). (David Harrison)
  15.         Also avoid that scolling goes the wrong way in a narrow window.
  16. Files:        src/gui_athena.c
  17.  
  18.  
  19. *** ../vim60.93/src/gui_athena.c    Tue Sep 11 20:46:25 2001
  20. --- src/gui_athena.c    Wed Dec 12 20:29:52 2001
  21. ***************
  22. *** 148,156 ****
  23.       {
  24.       sb_info = sb;
  25.       if (data < -1)        /* page-width left */
  26. !         data = -(W_WIDTH(sb->wp) - 5);
  27.       else if (data > 1)    /* page-width right */
  28. !         data = (W_WIDTH(sb->wp) - 5);
  29.       }
  30.   
  31.       value = sb_info->value + data;
  32. --- 148,166 ----
  33.       {
  34.       sb_info = sb;
  35.       if (data < -1)        /* page-width left */
  36. !     {
  37. !         if (sb->size > 8)
  38. !         data = -(sb->size - 5);
  39. !         else
  40. !         data = -sb->size;
  41. !     }
  42.       else if (data > 1)    /* page-width right */
  43. !     {
  44. !         if (sb->size > 8)
  45. !         data = (sb->size - 5);
  46. !         else
  47. !         data = sb->size;
  48. !     }
  49.       }
  50.   
  51.       value = sb_info->value + data;
  52. *** ../vim60.93/src/version.c    Tue Nov  6 22:08:40 2001
  53. --- src/version.c    Wed Dec 12 20:31:57 2001
  54. ***************
  55. *** 608,609 ****
  56. --- 608,611 ----
  57.   {   /* Add new patch number below this line */
  58. + /**/
  59. +     94,
  60.   /**/
  61.  
  62. -- 
  63. hundred-and-one symptoms of being an internet addict:
  64. 44. Your friends no longer send you e-mail...they just log on to your IRC
  65.     channel.
  66.  
  67.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  68. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  69.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  70.