summaryrefslogtreecommitdiff
path: root/riscos/toolbar.h
diff options
context:
space:
mode:
authorSteve Fryatt <steve@stevefryatt.org.uk>2011-03-06 14:09:42 +0000
committerSteve Fryatt <steve@stevefryatt.org.uk>2011-03-06 14:09:42 +0000
commit47d67cdbcbb6b1c166d2ecd43e1dc06766bc19ff (patch)
treed2b4141f2f2f5ce2f7b9e932b33839bac44a7066 /riscos/toolbar.h
parent5ac45472c7af8ccf686ea93791e491899889f087 (diff)
downloadnetsurf-47d67cdbcbb6b1c166d2ecd43e1dc06766bc19ff.tar.gz
netsurf-47d67cdbcbb6b1c166d2ecd43e1dc06766bc19ff.tar.bz2
Fix bug #3200899: Don't claim keypresses we don't handle.
svn path=/trunk/netsurf/; revision=11925
Diffstat (limited to 'riscos/toolbar.h')
-rw-r--r--riscos/toolbar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/toolbar.h b/riscos/toolbar.h
index c2e22cf39..583a5e765 100644
--- a/riscos/toolbar.h
+++ b/riscos/toolbar.h
@@ -72,7 +72,7 @@ struct toolbar_callbacks {
void (*user_action)(void *, toolbar_action_type, union toolbar_action);
/** Call to handle keypresses. */
- void (*key_press)(void *, wimp_key *);
+ bool (*key_press)(void *, wimp_key *);
/** Call on change to button order. */
void (*save_buttons)(void *, char *);