libfdisk: fix script next_token()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2014-10-10 12:53:12 +02:00
parent 90dc69e40a
commit 2ce7b95985
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ static char *next_token(char **str)
if (!tk_begin) {
if (isblank(*p))
continue;
tk_begin = p;
tk_begin = *p == '"' ? p + 1 : p;
}
if (*p == '"')
open_quote ^= 1;