CVS domivogt: * Fixed CopyToken delimiter parsing.

2004-10-12 Thread FVWM CVS
: FvwmCommand.c Log message: * Fixed CopyToken delimiter parsing. * Fixed FvwmCommand. -- Visit the official FVWM web page at URL:http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm-workers in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]

Re: CopyToken()

2004-10-12 Thread Dominik Vogt
) but the pointer to the rest of the string (the actual return value) is .13 which is incorrect. (The '5' character got truncated in CopyToken().) + t = SkipSpaces(src, spaces, snum); + if (*t != 0 dnum strchr(delims, *t) != NULL) + { + src = t + 1; + } I think the strchr

CopyToken()

2004-10-11 Thread Scott Smedley
) is .13 which is incorrect. (The '5' character got truncated in CopyToken().) + t = SkipSpaces(src, spaces, snum); + if (*t != 0 dnum strchr(delims, *t) != NULL) + { + src = t + 1; + } I think the strchr() needs to be replaced with a function that checks for delims at the _start_ of t