Applied patch from Tomaz Solc fixing a bug in the CenterDisplay function.
commita2b8738d552f7e768aa1f98f32fd4b8a7422a8db
authorPeter Clifton <pcjc2@cam.ac.uk>
Sun, 13 Apr 2008 16:17:01 +0000 (13 16:17 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sun, 13 Apr 2008 16:17:01 +0000 (13 16:17 +0000)
treedb41c279bb6e392cfd07ab999d41b96c47f9b1b7
parent424e5048dc4a1ce02367a3c6b90c5667cb474051
Applied patch from Tomaz Solc fixing a bug in the CenterDisplay function.

This patch fixes a bug in the CenterDisplay function that doesn't do a
RestoreCrosshair() after HideCrosshair().

This causes the crosshair stack overflow when using the DRC checker (which
calls CenterDisplay a lot).

Minor re-indentation by Peter Clifton during application.
src/misc.c