summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/htagml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/htagml.c b/bin/htagml.c
index c1e75dd9..b72b5e39 100644
--- a/bin/htagml.c
+++ b/bin/htagml.c
@@ -128,6 +128,7 @@ int main(int argc, char *argv[]) {
 				if (regexec(&tags[i].regex, buf, 0, NULL, 0)) continue;
 			}
 			tag = &tags[i];
+			tag->num = num;
 			break;
 		}
 		if (!tag) {