home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3103 < prev    next >
Encoding:
Internet Message Format  |  1991-03-22  |  1.7 KB

  1. From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail)
  2. Newsgroups: alt.sources
  3. Subject: Patch for Stevie 3.69a
  4. Message-ID: <ey85y1w163w@cybrspc>
  5. Date: 21 Mar 91 05:04:37 GMT
  6.  
  7. Some months ago, I hacked some restricted-user code into Stevie, so I
  8. and others could offer the editor to our BBS users. The patches were
  9. well received, and BBStevie has spread around a bit.
  10.  
  11. Recently, though, a user in England has discovered a bug! (it's in the
  12. original code, not my patches) If you hit '}' from command mode, Stevie
  13. is supposed to search to the next paragraph. However, if there is no
  14. next paragraph (such as if you are at EOF), Stevie will lock up. The
  15. problem is in the file sentence.c, and the following patch will fix it.
  16.  
  17. (If you're interested in BBStevie, the full set of patches will be
  18. posted to alt.bbs.waffle, as well as the MS-DOS executable)
  19. ---- cut here to avoid certain disaster ---
  20. *** .\SENTENCE.C        Sun Mar 11 03:20:58 1990
  21. --- ..\SENTENCE.C    Wed Mar 20 21:53:38 1991
  22. ***************
  23. *** 165,171 ****
  24.           bcurr = blankline (curr);
  25.   
  26.           /* Test halting condition */
  27. !         if (dir==FORWARD && bcurr && !blast) {
  28.               setpcmark();
  29.               curr = skiptotext (curr, FORWARD);
  30.               *Curschar = *curr;
  31. --- 165,171 ----
  32.           bcurr = blankline (curr);
  33.   
  34.           /* Test halting condition */
  35. !         if (dir==FORWARD && bcurr && !blast && curr) {
  36.               setpcmark();
  37.               curr = skiptotext (curr, FORWARD);
  38.                         *Curschar = *curr;
  39. ---- cut here to avoid certain disaster ---
  40. --
  41. Roy M. Silvernail --  roy%cybrspc@cs.umn.edu - OR-  cybrspc!roy@cs.umn.edu
  42.   perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"'
  43.         [space reserved for clever quote]{mail your submissions}
  44.