mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
theide: Navigator fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1248 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ca60682054
commit
9c082c948d
2 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue