From 5552ce1dbea771a9b4c59ae0a59a8b997714c8f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Mon, 23 Jan 2017 23:01:20 +0100
Subject: Rename "struct str_vector" to "struct strv"
Short names for things used often.
---
liberty-tui.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'liberty-tui.c')
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;
}
--
cgit v1.2.3