summaryrefslogtreecommitdiff
path: root/src/widget/widget_textfield.c
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.debian>2009-03-26 15:04:00 +0100
committerDusan Durech <dusan@debian.debian>2009-03-26 15:04:00 +0100
commite5e0724740215565404dba837f8c3072f9fe7413 (patch)
tree39d80e50e12a9fffe47834cd375212017b22025b /src/widget/widget_textfield.c
parentdf1f2b7cccb241db5500453aa65d11896f54ce6d (diff)
fix warnings...
Diffstat (limited to 'src/widget/widget_textfield.c')
-rw-r--r--src/widget/widget_textfield.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widget/widget_textfield.c b/src/widget/widget_textfield.c
index 6a8824a..94fef18 100644
--- a/src/widget/widget_textfield.c
+++ b/src/widget/widget_textfield.c
@@ -383,11 +383,11 @@ static void readKey(widget_textfield_t * p)
p->text[len] = c;
if (mapa[SDLK_LSHIFT] == SDL_PRESSED || mapa[SDLK_RSHIFT] == SDL_PRESSED) {
- int i;
+ int j;
- for (i = 0; i < len_shift_map; i += 2) {
- if (c == shift_map[i]) {
- p->text[len] = shift_map[i + 1];
+ for (j = 0; j < len_shift_map; j += 2) {
+ if (c == shift_map[j]) {
+ p->text[len] = shift_map[j + 1];
}
}