mirror of https://github.com/GNOME/gimp.git
skip slash r
This commit is contained in:
parent
20cc008346
commit
ee4c38b487
|
@ -1016,6 +1016,9 @@ read_pnmraw_type (FILE *ifp,
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (thrd == EOF) return (-1);
|
if (thrd == EOF) return (-1);
|
||||||
|
#ifdef __EMX__
|
||||||
|
if (thrd == '\r') thrd = getc (ifp);
|
||||||
|
#endif
|
||||||
if ((thrd == '\n') && (frst == 'P') && (scnd >= '1') && (scnd <= '6'))
|
if ((thrd == '\n') && (frst == 'P') && (scnd >= '1') && (scnd <= '6'))
|
||||||
break;
|
break;
|
||||||
frst = scnd;
|
frst = scnd;
|
||||||
|
|
|
@ -1016,6 +1016,9 @@ read_pnmraw_type (FILE *ifp,
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (thrd == EOF) return (-1);
|
if (thrd == EOF) return (-1);
|
||||||
|
#ifdef __EMX__
|
||||||
|
if (thrd == '\r') thrd = getc (ifp);
|
||||||
|
#endif
|
||||||
if ((thrd == '\n') && (frst == 'P') && (scnd >= '1') && (scnd <= '6'))
|
if ((thrd == '\n') && (frst == 'P') && (scnd >= '1') && (scnd <= '6'))
|
||||||
break;
|
break;
|
||||||
frst = scnd;
|
frst = scnd;
|
||||||
|
|
|
@ -1016,6 +1016,9 @@ read_pnmraw_type (FILE *ifp,
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (thrd == EOF) return (-1);
|
if (thrd == EOF) return (-1);
|
||||||
|
#ifdef __EMX__
|
||||||
|
if (thrd == '\r') thrd = getc (ifp);
|
||||||
|
#endif
|
||||||
if ((thrd == '\n') && (frst == 'P') && (scnd >= '1') && (scnd <= '6'))
|
if ((thrd == '\n') && (frst == 'P') && (scnd >= '1') && (scnd <= '6'))
|
||||||
break;
|
break;
|
||||||
frst = scnd;
|
frst = scnd;
|
||||||
|
|
Loading…
Reference in New Issue