summaryrefslogtreecommitdiff
path: root/tags.c
diff options
context:
space:
mode:
Diffstat (limited to 'tags.c')
-rw-r--r--tags.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tags.c b/tags.c
index 5b7541d..5f02b16 100644
--- a/tags.c
+++ b/tags.c
@@ -13,7 +13,7 @@ static const char *tags_filename(Ted *ted, bool error_if_does_not_exist) {
ted_path_full(ted, "../..", ted->tags_dir, sizeof ted->tags_dir);
if (!fs_file_exists(filename)) {
if (error_if_does_not_exist)
- ted_seterr(ted, "No tags file. Try running ctags.");
+ ted_error(ted, "No tags file. Try running ctags.");
filename = NULL;
}
}
@@ -325,7 +325,7 @@ top:;
}
str32_free(&pattern32);
} else {
- ted_seterr(ted, "Unrecognized tag address: %s", address);
+ ted_error(ted, "Unrecognized tag address: %s", address);
}
}
break;
@@ -340,7 +340,7 @@ top:;
already_regenerated_tags = true;
goto top;
} else {
- ted_seterr(ted, "No such tag: %s", tag);
+ ted_error(ted, "No such tag: %s", tag);
}
}
fclose(file);