Changeset 0d9c90c for editwin.c


Ignore:
Timestamp:
Sep 1, 2009, 3:16:20 PM (12 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ffd50fe
Parents:
4ccd92c
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (09/01/09 15:14:15)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (09/01/09 15:16:20)
Message:
Fix an Off By One error in some editwin code.

Fixes #99.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • editwin.c

    r4ccd92c r0d9c90c  
    569569static inline void oe_fixup(int *target, int start, int end, int change) {
    570570  if (*target > start) {
    571     if (*target < end)
     571    if (*target <= end)
    572572      *target = end;
    573573    else
Note: See TracChangeset for help on using the changeset viewer.