remove the at symbol from the char blacklist

This commit is contained in:
Richard Hughes 2007-11-08 18:41:22 +00:00
parent ac5a5dd9a5
commit 740efd3edd

View File

@ -92,7 +92,6 @@ pk_strvalidate_char (gchar item)
case ']': case ']':
case '{': case '{':
case '}': case '}':
case '@':
case '#': case '#':
case '\\': case '\\':
case '<': case '<':
@ -177,7 +176,7 @@ pk_strvalidate (const gchar *text)
return FALSE; return FALSE;
} }
if (pk_strvalidate_char (text[i]) == FALSE) { if (pk_strvalidate_char (text[i]) == FALSE) {
pk_debug ("invalid char in text!"); pk_debug ("invalid char '%c' in text!", text[i]);
return FALSE; return FALSE;
} }
} }