From: oetiker Date: Sat, 16 Dec 2006 16:04:05 +0000 (+0000) Subject: oops 99 is the last item X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df441e2e3489ef547fc46cc32bf13ec69cb6939c;p=rrdtool.git oops 99 is the last item git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@933 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 4abacc7..ad6ef4a 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3519,7 +3519,7 @@ rrd_graph_options(int argc, char *argv[],image_desc_t *im) case 'W': strncpy(im->watermark,optarg,100); - im->watermark[100]='\0'; + im->watermark[99]='\0'; break; case '?':