summaryrefslogtreecommitdiff
path: root/src/bin/exactness/inspect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/exactness/inspect.c')
-rw-r--r--src/bin/exactness/inspect.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/exactness/inspect.c b/src/bin/exactness/inspect.c
index 64f5d1760f..7a119034b0 100644
--- a/src/bin/exactness/inspect.c
+++ b/src/bin/exactness/inspect.c
@@ -357,7 +357,11 @@ _scn_text_get(void *data, Evas_Object *gl, const char *part EINA_UNUSED)
357 Exactness_Action *a1 = vv->p1; 357 Exactness_Action *a1 = vv->p1;
358 Exactness_Action *a2 = vv->p2; 358 Exactness_Action *a2 = vv->p2;
359 359
360 if (!a1 ^ !a2) return strdup("XXXXX"); 360 if (!a1 ^ !a2)
361 {
362 eina_strbuf_free(buf);
363 return strdup("XXXXX");
364 }
361 365
362 if (a1->delay_ms != a2->delay_ms) eina_strbuf_append_printf(buf, "[+"LDIFF(%.3f)"/+"RDIFF(%.3f)"]: ", a1->delay_ms/1000.0, a2->delay_ms/1000.0); 366 if (a1->delay_ms != a2->delay_ms) eina_strbuf_append_printf(buf, "[+"LDIFF(%.3f)"/+"RDIFF(%.3f)"]: ", a1->delay_ms/1000.0, a2->delay_ms/1000.0);
363 else eina_strbuf_append_printf(buf, "+%.3f: ", a1->delay_ms / 1000.0); 367 else eina_strbuf_append_printf(buf, "+%.3f: ", a1->delay_ms / 1000.0);