From 931bdf26da0e5a116a881f429dfdb1e8eafbba3d Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 9 Jul 2010 01:39:10 +0200 Subject: Show "iPhone 4" if an iPhone 4 is connected --- src/device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/device.c b/src/device.c index 7a33ca1..3d42419 100644 --- a/src/device.c +++ b/src/device.c @@ -250,10 +250,11 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError ** lockdownd_get_value(client, NULL, "ProductType", &node); if (node) { char *devtype = NULL; - const char *devtypes[7][2] = { + const char *devtypes[8][2] = { {"iPhone1,1", "iPhone"}, {"iPhone1,2", "iPhone 3G"}, {"iPhone2,1", "iPhone 3GS"}, + {"iPhone3,1", "iPhone 4"}, {"iPad1,1", "iPad"}, {"iPod1,1", "iPod Touch"}, {"iPod2,1", "iPod touch (2G)"}, -- cgit v1.1-32-gdbae