~ft/libtags

3ab23ef29a9baa59e22a774a9d0c9c166b081a55 — Sigrid Solveig Haflínudóttir 3 years ago 3e370bf
use nelem
1 files changed, 1 insertions(+), 1 deletions(-)

M tags.c
M tags.c => tags.c +1 -1
@@ 65,7 65,7 @@ tagsget(Tagctx *ctx)
	ctx->found = 0;
	ctx->format = Funknown;
	res = -1;
	for(i = 0; i < (int)(sizeof(g)/sizeof(g[0])); i++){
	for(i = 0; i < nelem(g); i++){
		ctx->num = 0;
		if(g[i].f(ctx) == 0){
			if(ctx->num > 0)