summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-01 16:14:13 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-01 16:14:13 (EDT)
commit78877f2ab6034745e1cabbfe8bd049ea2b98b7d1 (patch)
tree2741db51f292fe0edcaf0cbeecef23d5375548b9
parent675202890495b85f32ff69047efcfd95da7db527 (diff)
downloadmarquee-78877f2ab6034745e1cabbfe8bd049ea2b98b7d1.zip
marquee-78877f2ab6034745e1cabbfe8bd049ea2b98b7d1.tar.gz
marquee-78877f2ab6034745e1cabbfe8bd049ea2b98b7d1.tar.bz2
mq_html_h*_free(), mq_html_p_free(): Rename variable
-rw-r--r--src/html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html.c b/src/html.c
index 38cc3f0..f3dc841 100644
--- a/src/html.c
+++ b/src/html.c
@@ -171,10 +171,10 @@ mq_html_document(const gchar *title, ...)
gchar * \
mq_html_##ELEM##_free(gchar *text) \
{ \
- gchar *p; \
- p = g_strconcat("<" #ELEM ">", text, "</" #ELEM ">", NULL); \
+ gchar *e; \
+ e = g_strconcat("<" #ELEM ">", text, "</" #ELEM ">", NULL); \
g_free(text); \
- return p; \
+ return e; \
}
TEXT_ELEMENT(h1)
TEXT_ELEMENT(h2)