summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-25 14:42:32 +0100
committerGravatar Nikias Bassen2009-12-25 14:42:32 +0100
commita9d13e910fd33414dc7c9f679918f004521e7b54 (patch)
treed8fe058e53aa682921c48536aaa2050d386fabe3 /src
parent82bfe7de25b955daf9a143b0328950ba508dd399 (diff)
downloadsbmanager-a9d13e910fd33414dc7c9f679918f004521e7b54.tar.gz
sbmanager-a9d13e910fd33414dc7c9f679918f004521e7b54.tar.bz2
Fix parsing of iPod Touch device type
Diffstat (limited to 'src')
-rw-r--r--src/sbmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c
index f33006e..509ab7d 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -956,7 +956,7 @@ static void get_device_info(SBManagerApp *app)
plist_get_string_val(node, &devtype);
if (devtype) {
int i;
- for (i = 0; i < 3; i++) {
+ for (i = 0; i < 6; i++) {
if (g_str_equal(devtypes[i][0], devtype)) {
app->device_type = g_strdup(devtypes[i][1]);
break;