From 2bdab4409c5c58c2e23fbda6aae6c9ef434ad480 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jancsika@yahoo.com> Date: Sat, 23 Aug 2014 21:20:01 -0400 Subject: [PATCH] fixed crasher with scalars and autotips --- pd/src/g_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index b3da6c7c6..9329aad7b 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -3408,7 +3408,7 @@ void canvas_doclick(t_canvas *x, int xpos, int ypos, int which, canvas_setcursor(x, CURSOR_EDITMODE_NOTHING); /* now check for tooltips object tooltips */ - if (tooltips) + if (tooltips && ob) { t_rtext *yr = glist_findrtext(x, (t_text *)&ob->ob_g); objtooltip = 1; -- GitLab