undoing broken change

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4820 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-07 19:36:34 +00:00
parent 9d0a586d41
commit 11f5d981a9
+1 -6
View File
@@ -178,9 +178,6 @@ char *cvecstr(vector<char *> &cvec, const char *substr, int *rline = NULL)
return r;
}
// 2010apr16 : flowtron
// we can also use
// docfind(SEARCH, quiet=true) ? DONE : UNDONE
void listundoneidents(vector<const char *> &inames, int allidents)
{
enumeratekt(*idents, const char *, name, ident, id,
@@ -234,7 +231,7 @@ void docinvalid()
});
}
bool docfind(char *search, bool quiet = false)
void docfind(char *search)
{
enumerate(docidents, docident, i,
{
@@ -250,11 +247,9 @@ bool docfind(char *search, bool quiet = false)
const int matchchars = 200;
string match;
copystring(match, r-srch[rline] > matchchars/2 ? r-matchchars/2 : srch[rline], matchchars/2);
if(quiet) return true;
conoutf("%-20s%s", i.name, match);
}
});
if(quiet) return false;
}
char *xmlstringenc(char *d, const char *s, size_t len)