summaryrefslogtreecommitdiff
path: root/test/keyboard.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2019-02-02 22:29:53 +0100
committerMatthias Melcher <git@matthiasm.com>2019-02-02 22:29:53 +0100
commitc97990e517adca2d0a8c287bddbdd4761f5965f2 (patch)
tree3aa4c461e7e5b4bf44fdc01c5de8378d933e5639 /test/keyboard.cxx
parent5cd9f6fb8058f92d9434949caaf089e0b900ce64 (diff)
Removed all shadow lint in header files (STR #2714).
Diffstat (limited to 'test/keyboard.cxx')
-rw-r--r--test/keyboard.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/keyboard.cxx b/test/keyboard.cxx
index a0326d7e6..27107de3e 100644
--- a/test/keyboard.cxx
+++ b/test/keyboard.cxx
@@ -101,8 +101,8 @@ int main(int argc, char** argv) {
const char *str;
// update all the buttons with the current key and shift state:
- for (int i = 0; i < window->children(); i++) {
- Fl_Widget* b = window->child(i);
+ for (int c = 0; c < window->children(); c++) {
+ Fl_Widget* b = window->child(c);
if (b->callback() == (Fl_Callback*)key_cb) {
int i = b->argument();
if (!i) i = b->label()[0];