From 53cb5a2a0d1540a37e6e5d1c1673e8354d5208a5 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sat, 26 Feb 2022 00:41:29 +0100 Subject: Migrate away from wchar_t, default to utf8 --- src/tag.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/tag.h') diff --git a/src/tag.h b/src/tag.h index 9322f05..a5d4f26 100644 --- a/src/tag.h +++ b/src/tag.h @@ -1,18 +1,14 @@ #pragma once #include "list.h" -#include "util.h" struct tag { - wchar_t *name; - char *fname, *fpath; - - char *new_fname; + char *name, *fpath; struct list tracks; struct link link; }; -struct tag *tag_init(const char *path, const char *fname); +struct tag *tag_alloc(const char *path, const char *fname); void tag_free(struct tag *tag); -- cgit v1.2.3-71-gd317