diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2012-03-03 07:52:13 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2012-03-03 07:52:13 -0500 |
commit | d05db0a90c7bce7e6830e77a16c63a90e9e572c4 (patch) | |
tree | 3af3b1406b2bc6a30f647abcc40865bee2f73022 /apps/misc.h | |
parent | f688710707f3af56a5949b8ae3957c9408b25392 (diff) | |
download | rockbox-d05db0a90c7bce7e6830e77a16c63a90e9e572c4.tar.gz rockbox-d05db0a90c7bce7e6830e77a16c63a90e9e572c4.zip |
Correct actionable offense for misappropriation of action context.
Just use a bool to indicate raw button instead of action code. No
bother with plugin version yet again so soon.
Change-Id: I4aa075c0c1fb5308c9d49bebb30ac76f671b2335
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.h b/apps/misc.h index 4ae7c19a32..8d0953985d 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -148,7 +148,7 @@ void system_sound_play(enum system_sound sound); | |||
148 | typedef bool (*keyclick_callback)(int action, void* data); | 148 | typedef bool (*keyclick_callback)(int action, void* data); |
149 | void keyclick_set_callback(keyclick_callback cb, void* data); | 149 | void keyclick_set_callback(keyclick_callback cb, void* data); |
150 | /* Produce keyclick based upon button and global settings */ | 150 | /* Produce keyclick based upon button and global settings */ |
151 | void keyclick_click(int context, int action); | 151 | void keyclick_click(bool rawbutton, int action); |
152 | #endif /* CONFIG_CODEC == SWCODEC */ | 152 | #endif /* CONFIG_CODEC == SWCODEC */ |
153 | 153 | ||
154 | void push_current_activity(enum current_activity screen); | 154 | void push_current_activity(enum current_activity screen); |