Fix EOF detection in PGN parser
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 24 Apr 2016 19:10:06 +0000 (21:10 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 24 Apr 2016 19:10:06 +0000 (21:10 +0200)
commitebf8f690dfc868c231baacd2232840e14586d00f
tree3e008990cfb15af5531679219af33133bc7c053f
parente449d7412605812532c2d6590c6bda99e27f1885
Fix EOF detection in PGN parser

The result of fgetc was stored in a (char) before comparing it with EOF,
which fails badly if the char is not signed.
parser.c