summaryrefslogtreecommitdiff
path: root/tags.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-28 00:45:33 -0400
committerpommicket <pommicket@gmail.com>2025-09-28 00:46:21 -0400
commit3c9e139aec08d1bb406a6219122ca982b4b7dc34 (patch)
tree4d7993152bbb76f1d8b7df6de45fb032332b94d0 /tags.c
parente78bf3013ddb588638a93bed1f6eff4d0beb5106 (diff)
Remove trailing white space in source files
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 68a3f2c..b38a821 100644
--- a/tags.c
+++ b/tags.c
@@ -34,7 +34,7 @@ static bool is_source_file(const char *filename) {
if (streq(dot + 1, extensions[i])) {
return true;
}
- }
+ }
return false;
}
@@ -49,7 +49,7 @@ static void tags_generate_at_dir(Ted *ted, bool run_in_build_window, const char
char command[2048]; // 2048 is the limit on Windows XP, apparently
#if __unix__
- // ctags.emacs's sorting depends on the locale
+ // ctags.emacs's sorting depends on the locale
// (ctags-universal doesn't)
const char *cmd_prefix = "LC_ALL=C ctags --append";
#else
@@ -385,7 +385,7 @@ SymbolInfo *tags_get_symbols(Ted *ted) {
if (file) {
char line[1024];
while (fgets(line, sizeof line, file)) {
- if (line[0] != '!') { // tag metadata is formatted as tag names beginning with !
+ if (line[0] != '!') { // tag metadata is formatted as tag names beginning with !
size_t len = strcspn(line, "\t");
SymbolInfo *info = arr_addp(infos);
info->name = strn_dup(line, len);