summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-05-08 15:30:41 +0100
committerVincent Sanders <vince@kyllikki.org>2015-05-08 15:30:41 +0100
commit2c51dabfeb8f48c4fc1280ae02ae56cd246045c5 (patch)
tree24a5fc9999610aa878473c867b1758e28d4d03db /render
parent2092ab252f8526453930e1b5b4d9cb3a169af9e0 (diff)
downloadnetsurf-2c51dabfeb8f48c4fc1280ae02ae56cd246045c5.tar.gz
netsurf-2c51dabfeb8f48c4fc1280ae02ae56cd246045c5.tar.bz2
put assert back to protect against bad logic in frontend drag implementations
Diffstat (limited to 'render')
-rw-r--r--render/box_textarea.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/box_textarea.c b/render/box_textarea.c
index 1de6c9813..eb865beac 100644
--- a/render/box_textarea.c
+++ b/render/box_textarea.c
@@ -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;
}
}