[Commit] jove buf.c,1.3,1.4 insert.c,1.4,1.5
Keith Packard
commit@keithp.com
Mon, 19 May 2003 13:13:48 -0700
- Previous message: [Commit] mq1100 Makefile,1.2,1.3 mq.c,1.1.1.1,1.2 mq1100.h,1.2,1.3 mqinit.c,1.2,1.3
- Next message: [Commit] Xcursor Makefile.am,1.3,1.4 Xcursor.h,1.6,1.7 configure.ac,1.2,1.3 xcursorint.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /local/src/CVS/jove
In directory home.keithp.com:/tmp/cvs-serv26400
Modified Files:
buf.c insert.c
Log Message:
misparenthesized a test
Index: buf.c
===================================================================
RCS file: /local/src/CVS/jove/buf.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- buf.c 15 May 2003 00:01:06 -0000 1.3
+++ buf.c 19 May 2003 20:13:46 -0000 1.4
@@ -826,6 +826,7 @@
char *buf_prev (char *buf, char *first)
{
+ if (buf == first) return buf;
if ((*--buf & 0xc0) == 0x80)
{
char *prev = buf;
Index: insert.c
===================================================================
RCS file: /local/src/CVS/jove/insert.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- insert.c 15 May 2003 06:09:54 -0000 1.4
+++ insert.c 19 May 2003 20:13:46 -0000 1.5
@@ -85,8 +85,8 @@
ucs4 c;
sp = ep = &linebuf[curchar];
- while ((pp = buf_prev (sp, linebuf)) >= linebuf &&
- (c = parse_ucs4 (pp)) == ' ' || c == '\t')
+ while ((pp = buf_prev (sp, linebuf)) != sp &&
+ ((c = parse_ucs4 (pp)) == ' ' || c == '\t'))
sp = pp;
if (sp != ep) {
curchar = sp - linebuf;
@@ -474,6 +474,8 @@
"CE:₠/C:₡CR:₢=F:₣=L:₤/m:₥=N:₦PT:₧RS:₨=W:₩NS:₪=d:₫=C:€-K:₭=T:₮DP:₯"
/* General punctuation */
"||:‖__:‗ `:‘ ':’ ,:‚``:“'':”,,:„ +:†++:‡ o:•"
+/* Mathematical operators */
+" -:− ~:∼ |:∣/|:∤||:∥=~:≂~=:≃"
;
char *
- Previous message: [Commit] mq1100 Makefile,1.2,1.3 mq.c,1.1.1.1,1.2 mq1100.h,1.2,1.3 mqinit.c,1.2,1.3
- Next message: [Commit] Xcursor Makefile.am,1.3,1.4 Xcursor.h,1.6,1.7 configure.ac,1.2,1.3 xcursorint.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]