From 03ca6830a9e6742b8873aee04d77b3e094b65d30 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 25 Oct 2004 15:27:39 +0000 Subject: fix of vcal crash --- (limited to 'libkcal/versit/vcc.c') diff --git a/libkcal/versit/vcc.c b/libkcal/versit/vcc.c index 9be752d..5413813 100644 --- a/libkcal/versit/vcc.c +++ b/libkcal/versit/vcc.c @@ -1762,7 +1762,8 @@ static char* lexGetWord() { lexSkipWhite(); lexClearToken(); c = lexLookahead(); - while (c != EOF && !strchr("\t\n ;:=",c)) { + // LR while (c != EOF && !strchr("\t\n ;:=",c)) { + while (c != EOF && !strchr("\t\n;:=",c)) { lexAppendc(c); lexSkipLookahead(); c = lexLookahead(); -- cgit v0.9.0.2