prepare for the release of rrdtool-1.2.16
[rrdtool.git] / src / rrd_graph.c
index 7018032..d785331 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * RRDtool 1.2.15  Copyright by Tobi Oetiker, 1997-2006
+ * RRDtool 1.2.16  Copyright by Tobi Oetiker, 1997-2006
  ****************************************************************************
  * rrd__graph.c  produce graphs from data in rrdfiles
  ****************************************************************************/
@@ -1450,11 +1450,12 @@ leg_place(image_desc_t *im)
         if (prt_fctn != 'l' && 
            prt_fctn != 'r' &&
            prt_fctn != 'j' &&
+           prt_fctn != 'c' &&
             prt_fctn != 't' &&
             prt_fctn != '\0' &&
             prt_fctn != 'g' ) {
               free(legspace);
-              rrd_set_error("Uknown control code at the end of '%s\\%c'",im->gdes[i].legend,prt_fctn);
+              rrd_set_error("Unknown control code at the end of '%s\\%c'",im->gdes[i].legend,prt_fctn);
                       return -1;
 
        }