[abcp commit] r103 - no log message

1 view
Skip to first unread message

codesite...@google.com

unread,
Apr 4, 2009, 5:06:14 AM4/4/09
to abcp-...@googlegroups.com
Author: rdentato
Date: Sat Apr 4 01:37:34 2009
New Revision: 103

Modified:
trunk/examples/abcndx/abcndx.c

Log:


Modified: trunk/examples/abcndx/abcndx.c
==============================================================================
--- trunk/examples/abcndx/abcndx.c (original)
+++ trunk/examples/abcndx/abcndx.c Sat Apr 4 01:37:34 2009
@@ -51,7 +51,7 @@
k = abcFieldLen(scn);
if (k == 0) strcpy(title,"Untitled");
else {
- if (k>=MAXTITLELEN) k=MAXTITLELEN;
+ if (k>=MAXTITLELEN) k=MAXTITLELEN-1;
strncpy(title,abcFieldStart(scn),k);
title[k] = '\0';
}

Reply all
Reply to author
Forward
0 new messages