Fix own braino: Use max three octal digits, not four.

1999-09-04  Tor Lillqvist  <tml@iki.fi>

* plug-ins/script-fu/interp_sliba.c (lreadstring): Fix own braino:
Use max three octal digits, not four.
This commit is contained in:
Tor Lillqvist 1999-09-03 21:16:53 +00:00 committed by Tor Lillqvist
parent 7a17371867
commit d4055ef4f5
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1999-09-04 Tor Lillqvist <tml@iki.fi>
* plug-ins/script-fu/interp_sliba.c (lreadstring): Fix own braino:
Use max three octal digits, not four.
Thu Sep 2 23:26:36 PDT 1999 Manish Singh <yosh@gimp.org>
* libgimp/Makefile.am: install parasiteio.h

View File

@ -698,7 +698,7 @@ lreadstring (struct gen_readio * f)
case '7':
n = c - '0';
ndigits = 1;
while (ndigits <= 3)
while (ndigits < 3)
{
c = GETC_FCN (f);
if (c == EOF)

View File

@ -698,7 +698,7 @@ lreadstring (struct gen_readio * f)
case '7':
n = c - '0';
ndigits = 1;
while (ndigits <= 3)
while (ndigits < 3)
{
c = GETC_FCN (f);
if (c == EOF)