put assert back to protect against bad logic in frontend drag implementations

This commit is contained in:
Vincent Sanders 2015-05-08 15:30:41 +01:00
parent 2092ab252f
commit 2c51dabfeb

View File

@ -151,6 +151,10 @@ static void box_textarea_callback(void *data, struct textarea_msg *msg)
default:
LOG(("Drag type %d not handled.",
msg->data.drag));
/* This is a logic faliure in the
* front end code so abort.
*/
assert(0);
break;
}
}