summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7bbc427)
As evidenced by the comment, this corrects a thinko.
int w = 0;
// is the string a single character from a math font ?
#if QT_VERSION >= 0x040800
int w = 0;
// is the string a single character from a math font ?
#if QT_VERSION >= 0x040800
- bool const math_char = s.length() == 1 || font_.styleName() == "LyX";
+ bool const math_char = s.length() == 1 && font_.styleName() == "LyX";
#else
bool const math_char = s.length() == 1;
#endif
#else
bool const math_char = s.length() == 1;
#endif