diff options
author | Nikias Bassen | 2009-12-25 14:42:32 +0100 |
---|---|---|
committer | Nikias Bassen | 2009-12-25 14:42:32 +0100 |
commit | a9d13e910fd33414dc7c9f679918f004521e7b54 (patch) | |
tree | d8fe058e53aa682921c48536aaa2050d386fabe3 /src | |
parent | 82bfe7de25b955daf9a143b0328950ba508dd399 (diff) | |
download | sbmanager-a9d13e910fd33414dc7c9f679918f004521e7b54.tar.gz sbmanager-a9d13e910fd33414dc7c9f679918f004521e7b54.tar.bz2 |
Fix parsing of iPod Touch device type
Diffstat (limited to 'src')
-rw-r--r-- | src/sbmanager.c | 2 |
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; |