prepare for the release of rrdtool-1.2.17
[rrdtool.git] / src / rrd_graph.c
index 03556e6..ab6c06d 100644 (file)
@@ -1462,8 +1462,8 @@ leg_place(image_desc_t *im)
        }
 
         /* remove exess space */
-        if ( prt_fcnt == 'n' ){
-            prt_fcnt='l';
+        if ( prt_fctn == 'n' ){
+            prt_fctn='l';
         }
 
         while (prt_fctn=='g' &&