summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-09-15 15:49:16 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-10-07 11:54:23 +0200
commite92ce1bd727dbadcdaaf61266191a8c82250ff6a (patch)
treec8dc51df6e3b821d094c8a6357b234f57fc811ca
parentb70299fd35f13bf820592443960df328a5d0b07b (diff)
eolian gen2: use length_get when enclosing include guards
-rw-r--r--src/bin/eolian2/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian2/main.c b/src/bin/eolian2/main.c
index 9edb821c25..d9887617fb 100644
--- a/src/bin/eolian2/main.c
+++ b/src/bin/eolian2/main.c
@@ -111,7 +111,7 @@ static void _fill_all_outs(char **outs, const char *val)
111static Eina_Strbuf * 111static Eina_Strbuf *
112_include_guard(const char *fname, const char *gname, Eina_Strbuf *buf) 112_include_guard(const char *fname, const char *gname, Eina_Strbuf *buf)
113{ 113{
114 if (!buf || !eina_strbuf_string_get(buf)) 114 if (!buf || !eina_strbuf_length_get(buf))
115 return buf; 115 return buf;
116 116
117 if (!gname) 117 if (!gname)