Bug #414 - Tags filtering not working with unicode characters

- Fixed bug #414, that caused filtering on the presence or absence of tags
  containing Unicode characters to fail (thanks to Michal Josífko).
+ + Fixed bug #414, that caused filtering on the presence or absence of tags
+   containing Unicode characters to fail (thanks to Michal Josífko).

 ------ old releases ------------------------------
This commit is contained in:
Paul Beckingham
2010-06-20 20:10:20 -04:00
parent 916b8641b3
commit 99bce308e6
5 changed files with 86 additions and 8 deletions

View File

@@ -127,13 +127,13 @@ static fileType determineFileType (const std::vector <std::string>& lines)
// +project
if (words[w].length () > 1 &&
words[w][0] == '+' &&
isalnum (words[w][1]))
!isspace (words[w][1]))
return todo_sh_2_0;
// @context
if (words[w].length () > 1 &&
words[w][0] == '@' &&
isalnum (words[w][1]))
!isspace (words[w][1]))
return todo_sh_2_0;
}
}