From 44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 25 Dec 2009 18:18:35 +0100 Subject: Fix indentation of device type mapping array --- src/sbmanager.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src') 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) { -- cgit v1.1-32-gdbae