[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog server/asobj/Global.cpp
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash ChangeLog server/asobj/Global.cpp |
Date: |
Thu, 13 Dec 2007 09:38:18 +0100 |
On Thu, Dec 13, 2007 at 07:38:23AM +0000, Zou Lunkai wrote:
> // Skip leading whitespace
> - while ((input[0] == ' ') || (input[0] == 0x9))
> + while( input[0] == ' ' || input[0] == '\n' || input[0] == '\t' ||
> input[0] == '\r' )
C99 defines this:
isspace()
checks for white-space characters. In the "C" and "POSIX" locales, these
are: space, form-feed ('\f'), newline ('\n'), carriage return
('\r'), horizontal tab ('\t'), and vertical tab ('\v').
--strk;