Port of revision 455384

Fix gcc >= 4.0 miscompilation.

svn path=/trunk/KDE/kdegraphics/kdvi/; revision=455385
This commit is contained in:
Wilfried Huss 2005-08-31 11:08:21 +00:00
parent 93badc9cc3
commit 46bb5ad692

View file

@ -547,7 +547,11 @@ void dviRenderer::draw_part(double current_dimconv, bool is_vfmacro)
case FNTDEF3:
case FNTDEF4:
command_pointer += 12 + ch - FNTDEF1 + 1;
command_pointer += readUINT8() + readUINT8();
{
Q_UINT8 tempa = readUINT8();
Q_UINT8 tempb = readUINT8();
command_pointer += tempa + tempb;
}
break;
case PRE: