diff options
author | corvid <corvid@lavabit.com> | 2011-03-02 04:49:18 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-03-02 04:49:18 +0000 |
commit | 2423ac309789f13e104fc629c5a60c3c4947dfc4 (patch) | |
tree | 70326a4041e5afbbce1009c4ee8312b9f8997061 /src/dillo.cc | |
parent | 97580cb82d95b69d42df91c332767cf14bdb13cc (diff) |
disable shortcut drawing in labels
Diffstat (limited to 'src/dillo.cc')
-rw-r--r-- | src/dillo.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc index 3811d1d2..c7a0cbc3 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -174,6 +174,8 @@ static void custLabelDraw(const Fl_Label* o, int X, int Y, int W, int H, { const int interpret_symbols = 0; + fl_draw_shortcut = 0; + fl_font(o->font, o->size); fl_color((Fl_Color)o->color); fl_draw(o->value, X, Y, W, H, align, o->image, interpret_symbols); @@ -183,6 +185,8 @@ static void custLabelMeasure(const Fl_Label* o, int& W, int& H) { const int interpret_symbols = 0; + fl_draw_shortcut = 0; + fl_font(o->font, o->size); fl_measure(o->value, W, H, interpret_symbols); } |