no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@496 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-06 16:08:58 +00:00
parent de76c4ec89
commit b825b78015
10 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ void complete(char *s)
s_strcat(s, t);
};
if(!s[1]) return;
if(!completesize) { completesize = strlen(s)-1; completeidx = 0; };
if(!completesize) { completesize = (int)strlen(s)-1; completeidx = 0; };
int idx = 0;
enumerate(*idents, ident, id,
if(strncmp(id.name, s+1, completesize)==0 && idx++==completeidx)