aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/RenderCompositeGlyphs.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/RenderCompositeGlyphs.h')
-rw-r--r--nxcomp/RenderCompositeGlyphs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/nxcomp/RenderCompositeGlyphs.h b/nxcomp/RenderCompositeGlyphs.h
index 527fd3d12..9458ecb14 100644
--- a/nxcomp/RenderCompositeGlyphs.h
+++ b/nxcomp/RenderCompositeGlyphs.h
@@ -80,9 +80,8 @@ class MESSAGE_STORE : public MESSAGE_CLASS
virtual int identitySize(const unsigned char *buffer,
unsigned int size)
{
- unsigned int offset = (control -> isProtoStep8() == 1 ?
- MESSAGE_OFFSET_IF_PROTO_STEP_8 :
- MESSAGE_OFFSET);
+ // Since ProtoStep8 (#issue 108)
+ unsigned int offset = MESSAGE_OFFSET_IF_PROTO_STEP_8;
return (size >= offset ? offset : size);
}