[Reconnoiter-devel] [reconnoiter commit] r1327 - trunk/src/noitedit

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Thu May 27 15:01:16 EDT 2010


Author: jesus
Date: 2010-05-27 15:01:16 -0400 (Thu, 27 May 2010)
New Revision: 1327

Modified:
   trunk/src/noitedit/key.c
   trunk/src/noitedit/search.c
Log:
refs #283

Modified: trunk/src/noitedit/key.c
===================================================================
--- trunk/src/noitedit/key.c	2010-05-27 18:57:58 UTC (rev 1326)
+++ trunk/src/noitedit/key.c	2010-05-27 19:01:16 UTC (rev 1327)
@@ -678,7 +678,7 @@
 		*b++ = '@';
 		if (sep[0] != '\0' && sep[1] != '\0')
 			*b++ = sep[1];
-		*b++ = 0;
+		*b = 0;
 		return (buf);
 	}
 	for (p = str; *p != 0; p++) {
@@ -703,6 +703,6 @@
 	}
 	if (sep[0] != '\0' && sep[1] != '\0')
 		*b++ = sep[1];
-	*b++ = 0;
+	*b = 0;
 	return (buf);		/* should check for overflow */
 }

Modified: trunk/src/noitedit/search.c
===================================================================
--- trunk/src/noitedit/search.c	2010-05-27 18:57:58 UTC (rev 1326)
+++ trunk/src/noitedit/search.c	2010-05-27 19:01:16 UTC (rev 1327)
@@ -459,7 +459,7 @@
 	tmplen = 0;
 #ifdef ANCHOR
 	tmpbuf[tmplen++] = '.';
-	tmpbuf[tmplen++] = '*';
+	tmpbuf[tmplen] = '*';
 #endif
 
 	el->el_line.buffer[0] = '\0';



More information about the Reconnoiter-devel mailing list