mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
put assert back to protect against bad logic in frontend drag implementations
This commit is contained in:
parent
2092ab252f
commit
2c51dabfeb
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user