void FormMathsBitmap::apply()
{
+ string::size_type const i = latex_chosen_.find(' ');
- unsigned int i = latex_chosen_.find(' ');
if (i != string::npos) {
parent_.dispatchFunc(LFUN_MATH_MODE);
parent_.insertSymbol(latex_chosen_.substr(0,i));
parent_.insertSymbol(latex_chosen_.substr(i + 1), false);
} else
parent_.insertSymbol(latex_chosen_);
}Here's the patch. All works fine now, so I'll commit. Angus
