Issue #117: Fixed wrong magic comparition.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Removed not used constant.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>