Fix ampersand commands check

Also remove a trailing tab.
This commit is contained in:
Andrzej Zaborowski 2010-03-31 06:57:33 +02:00 committed by Denis Kenzior
parent 374181097e
commit 27d0bc6ccf
1 changed files with 2 additions and 2 deletions

View File

@ -572,7 +572,7 @@ static int get_basic_prefix_size(const char *buf)
}
if (buf[0] == '&') {
if (g_ascii_isalpha(buf[0] == FALSE))
if (g_ascii_isalpha(buf[1]) == FALSE)
return 0;
return 2;