diff options
author | Nikias Bassen | 2009-12-25 18:18:35 +0100 |
---|---|---|
committer | Nikias Bassen | 2009-12-25 18:18:35 +0100 |
commit | 44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2 (patch) | |
tree | 6e5004f4ddfbcfb27d1935ea7f7c4e3309cdc6dc /src | |
parent | ea14d6c0a8bf249496d0f5e635cdae1346b7c53d (diff) | |
download | sbmanager-44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2.tar.gz sbmanager-44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2.tar.bz2 |
Fix indentation of device type mapping array
Diffstat (limited to 'src')
-rw-r--r-- | src/sbmanager.c | 13 |
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) { |