Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 245331
Collapse All | Expand All

(-)src/rrd_graph.c (-6 / +4 lines)
Lines 3508-3524 Link Here
3508
                        if (size > 0){
3508
                        if (size > 0){
3509
                              im->text_prop[propidx].size=size;              
3509
                              im->text_prop[propidx].size=size;              
3510
                      }        
3510
                      }        
3511
                       if (strlen(optarg) > end){
3511
                       if (strlen(prop) > end){
3512
                          if (optarg[end] == ':'){
3512
                          if (prop[end] == ':'){
3513
                             strncpy(im->text_prop[propidx].font,optarg+end+1,255);
3513
                             strncpy(im->text_prop[propidx].font,prop+end+1,255);
3514
                             im->text_prop[propidx].font[255] = '\0';
3514
                             im->text_prop[propidx].font[255] = '\0';
3515
                          } else {
3515
                          } else {
3516
                             rrd_set_error("expected : after font size in '%s'",optarg);
3516
                             rrd_set_error("expected after font size in '%s'",prop);
3517
                            return;
3517
                            return;
3518
                          }
3518
                          }
3519
                      }
3519
                      }
3520
                      /* only run the for loop for DEFAULT (0) for
3521
                         all others, we break here. woodo programming */
3522
                      if (propidx==sindex && sindex != 0) break;
3520
                      if (propidx==sindex && sindex != 0) break;
3523
                  }
3521
                  }
3524
                } else {
3522
                } else {

Return to bug 245331