/****************************************************************************
- * RRDtool 1.2.15 Copyright by Tobi Oetiker, 1997-2006
+ * RRDtool 1.2.17 Copyright by Tobi Oetiker, 1997-2006
****************************************************************************
* 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' &&
return -1;
}
+
/* remove exess space */
+ if ( prt_fcnt == 'n' ){
+ prt_fcnt='l';
+ }
+
while (prt_fctn=='g' &&
leg_cc > 0 &&
im->gdes[i].legend[leg_cc-1]==' '){