# | Line 210 | Line 210 | EPWopen(const char *fname) | |
---|---|---|
210 | goto badformat; | |
211 | if (hdr->isWEA) { /* getting WEA header */ | |
212 | cp = linbuf+6; | |
213 | < | if (sscanf(cp, "%[^_]_%[^\r\n]q", |
214 | < | hdr->loc.city, hdr->loc.country) != 2) |
213 | > | if (sscanf(cp, "%[^_]_%[^\r\n]", |
214 | > | hdr->loc.city, hdr->loc.country) < 1) |
215 | goto badformat; | |
216 | if (!fgets(linbuf, sizeof(linbuf), hdr->fp)) | |
217 | goto readerr; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |