summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-25 18:18:35 +0100
committerGravatar Nikias Bassen2009-12-25 18:18:35 +0100
commit44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2 (patch)
tree6e5004f4ddfbcfb27d1935ea7f7c4e3309cdc6dc /src
parentea14d6c0a8bf249496d0f5e635cdae1346b7c53d (diff)
downloadsbmanager-44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2.tar.gz
sbmanager-44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2.tar.bz2
Fix indentation of device type mapping array
Diffstat (limited to 'src')
-rw-r--r--src/sbmanager.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c
index f00b95a..87d0b30 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -976,12 +976,13 @@ static gboolean get_device_info(SBManagerApp *app)
lockdownd_get_value(client, NULL, "ProductType", &node);
if (node) {
char *devtype = NULL;
- const char *devtypes[6][2] = { {"iPhone1,1", "iPhone"}, {"iPhone1,2", "iPhone 3G"},
- {"iPhone2,1",
- "iPhone 3GS"},
- {"iPod1,1", "iPod Touch"}, {"iPod2,1", "iPod touch (2G)"},
- {"iPod3,1",
- "iPod Touch (3G)"}
+ const char *devtypes[6][2] = {
+ {"iPhone1,1", "iPhone"},
+ {"iPhone1,2", "iPhone 3G"},
+ {"iPhone2,1", "iPhone 3GS"},
+ {"iPod1,1", "iPod Touch"},
+ {"iPod2,1", "iPod touch (2G)"},
+ {"iPod3,1", "iPod Touch (3G)"}
};
plist_get_string_val(node, &devtype);
if (devtype) {