Plan 9 from Bell Labs’s /usr/web/sources/contrib/mospak/abaco-html4/abaco-doubleclick-typo.diff

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


--- sys/src/cmd/abaco/text.c
+++ sys/src/cmd/abaco/text.c
@@ -724,7 +724,7 @@
 			c = t->rs.r[q-1];
 		p = runestrchr(l, c);
 		if(p != nil){
-			if(textclickmatch(t, c, t->rs.r[p-l], 1, &q))
+			if(textclickmatch(t, c, r[p-l], 1, &q))
 				*q1 = q-(c!='\n');
 			return;
 		}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.