/****************************************************************************
- * RRDtool 1.2.15 Copyright by Tobi Oetiker, 1997-2006
+ * RRDtool 1.2.19 Copyright by Tobi Oetiker, 1997-2007
****************************************************************************
* rrd__graph.c produce graphs from data in rrdfiles
****************************************************************************/
}
/* only valid control codes */
if (prt_fctn != 'l' &&
+ prt_fctn != 'n' && /* a synonym for l */
prt_fctn != 'r' &&
prt_fctn != 'j' &&
+ prt_fctn != 'c' &&
+ prt_fctn != 's' &&
prt_fctn != 't' &&
prt_fctn != '\0' &&
prt_fctn != 'g' ) {
return -1;
}
+
/* remove exess space */
+ if ( prt_fctn == 'n' ){
+ prt_fctn='l';
+ }
+
while (prt_fctn=='g' &&
leg_cc > 0 &&
im->gdes[i].legend[leg_cc-1]==' '){