theide: Navigator fix

git-svn-id: svn://ultimatepp.org/upp/trunk@1248 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-05-30 06:39:30 +00:00
parent ca60682054
commit 9c082c948d
2 changed files with 4 additions and 3 deletions

View file

@ -116,7 +116,7 @@ String FilterWhile(const char *s, int (*filter)(int))
WString Filter(const wchar *s, int (*filter)(int))
{
String result;
WString result;
while(*s) {
int c = (*filter)((byte)*s++);
if(c) result.Cat(c);
@ -126,7 +126,7 @@ WString Filter(const wchar *s, int (*filter)(int))
WString FilterWhile(const wchar *s, int (*filter)(int))
{
String result;
WString result;
while(*s) {
int c = (*filter)((byte)*s++);
if(!c) break;