summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a260c0)
raw | patch | inline | side by side (parent: 7a260c0)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 Jun 2008 17:08:11 +0000 (17:08 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 8 Jun 2008 17:08:11 +0000 (17:08 +0000) |
src/rrd_gfx.c | patch | blob | history | |
src/rrd_graph.c | patch | blob | history |
diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c
index 95d04bc418f7ed51586db7256c901173faae1571..b83f78e850bba62589add2d65ab799c6d1341d90 100644 (file)
--- a/src/rrd_gfx.c
+++ b/src/rrd_gfx.c
pango_layout_set_font_description(layout, font_desc);
if (im->with_markup)
pango_layout_set_markup(layout, text, -1);
+ else
+ pango_layout_set_text(layout, text, -1);
return layout;
}
diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index f67f277da3904ab71bc511362192e2de440ab6b7..357df07610fcd6ec68456d36d0061cb65ce8aef5 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
int col_start, col_end;
opt = getopt_long(argc, argv,
- "s:e:x:y:v:w:h:D:iu:l:rb:oc:n:m:t:f:a:I:zgjFYAMEX:L:S:T:NR:B:W:k",
+ "s:e:x:y:v:w:h:D:iu:l:rb:oc:n:m:t:f:a:I:zgjFYAMEX:L:S:T:NR:B:W:kP",
long_options, &option_index);
if (opt == EOF)
break;