URI: 
       tacme: fix iq1 adjust bug - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit da7e3a5d39b3acf930ca5714aed4826435cb1e13
   DIR parent 65a5e5fe46b9ff928babbef063030c62fafc6b43
  HTML Author: Russ Cox <rsc@swtch.com>
       Date:   Tue,  2 Aug 2011 07:57:48 -0400
       
       acme: fix iq1 adjust bug
       
       R=rsc
       http://codereview.appspot.com/4816066
       
       Diffstat:
         M src/cmd/acme/text.c                 |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
       t@@ -474,7 +474,7 @@ textdelete(Text *t, uint q0, uint q1, int tofile)
                                        }
                                }
                }
       -        if(t->iq1 < t->q0)
       +        if(q0 < t->iq1)
                        t->iq1 -= min(n, t->iq1-q0);
                if(q0 < t->q0)
                        t->q0 -= min(n, t->q0-q0);