+2005-02-14 Angus Leeming <leeming@lyx.org>
+
+ * insetlatexaccent.C (draw): squash a couple of MSVC warnings
+ about "truncation of constant value".
+
2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
drawAccent(pi, x2, baseline, '~');
break;
- case UNDERBAR: // underbar 0x5F
- pi.pain.text(x2 - font_metrics::center(0x5F, font), baseline,
- char(0x5F), font);
+ case UNDERBAR: {
+ char const underbar(0x5F);
+ pi.pain.text(x2 - font_metrics::center(underbar, font),
+ baseline, underbar, font);
break;
+ }
- case CEDILLA:
- pi.pain.text(x2 - font_metrics::center(0xB8, font), baseline,
- char(0xB8), font);
+ case CEDILLA: {
+ char const cedilla(0xB8);
+ pi.pain.text(x2 - font_metrics::center(cedilla, font),
+ baseline, cedilla, font);
break;
+ }
case UNDERDOT:
pi.pain.text(x2 - font_metrics::center('.', font),