Commit d9a31fa0 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Fix font color parsing in Plucker

parent 5e78ca3d
......@@ -447,7 +447,7 @@ void QUnpluck::ParseText
}
case PLKR_TFC_COLOR:
if (*font) {
*font--;
(*font)--;
if ( !context->stack.isEmpty() )
context->cursor->setCharFormat( context->stack.pop() );
}
......@@ -460,7 +460,7 @@ void QUnpluck::ParseText
context->cursor->setCharFormat( format );
}
*font++;
(*font)++;
ptr += fclen;
break;
case PLKR_TFC_BULINE:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment