fix mouseover bug. Thanks to Max_Salivan for reporting it.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4518 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-11-05 18:46:53 +00:00
parent d832b24d09
commit c17aa5f9a5
1 changed files with 1 additions and 1 deletions

View File

@ -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);