diff --git a/engine/qclib/qccgui.c b/engine/qclib/qccgui.c index 2264e5842..b563b08cf 100644 --- a/engine/qclib/qccgui.c +++ b/engine/qclib/qccgui.c @@ -609,7 +609,7 @@ char *GetTooltipText(editor_t *editor) { QCC_def_t *def; char *macro = QCC_PR_CheckCompConstTooltip(defname, buffer, buffer + sizeof(buffer)); - if (*macro) + if (macro && *macro) return macro; def = QCC_PR_GetDef(NULL, defname, NULL, false, 0, false);