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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user