Commit 2bdab440 authored by pokergaming's avatar pokergaming
Browse files

fixed crasher with scalars and autotips

parent 33d249ed
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment