aboutsummaryrefslogtreecommitdiff
path: root/liberty-tui.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-01-23 23:01:20 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2017-01-23 23:01:20 +0100
commit5552ce1dbea771a9b4c59ae0a59a8b997714c8f2 (patch)
tree933bd30da753b192c3386c34ffd6db5c063c1f54 /liberty-tui.c
parent680980632df77d098cdbd5bf4b57d859bd41cd9d (diff)
downloadliberty-5552ce1dbea771a9b4c59ae0a59a8b997714c8f2.tar.gz
liberty-5552ce1dbea771a9b4c59ae0a59a8b997714c8f2.tar.xz
liberty-5552ce1dbea771a9b4c59ae0a59a8b997714c8f2.zip
Rename "struct str_vector" to "struct strv"
Short names for things used often.
Diffstat (limited to 'liberty-tui.c')
-rw-r--r--liberty-tui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/liberty-tui.c b/liberty-tui.c
index c6e70e9..4d48c2a 100644
--- a/liberty-tui.c
+++ b/liberty-tui.c
@@ -62,8 +62,8 @@ struct attrs
static struct attrs
attrs_decode (const char *value)
{
- struct str_vector v;
- str_vector_init (&v);
+ struct strv v;
+ strv_init (&v);
cstr_split (value, " ", true, &v);
int colors = 0;
@@ -87,7 +87,7 @@ attrs_decode (const char *value)
else if (!strcmp (*it, "italic")) attrs.attrs |= A_ITALIC;
#endif // A_ITALIC
}
- str_vector_free (&v);
+ strv_free (&v);
return attrs;
}