equal
deleted
inserted
replaced
440 -(const char **)getSettings: (NSString *)recordFile { |
440 -(const char **)getSettings: (NSString *)recordFile { |
441 NSInteger width, height; |
441 NSInteger width, height; |
442 NSString *ipcString = [[NSString alloc] initWithFormat:@"%d", ipcPort]; |
442 NSString *ipcString = [[NSString alloc] initWithFormat:@"%d", ipcPort]; |
443 NSString *localeString = [[NSString alloc] initWithFormat:@"%@.txt", [[NSLocale currentLocale] objectForKey:NSLocaleLanguageCode]]; |
443 NSString *localeString = [[NSString alloc] initWithFormat:@"%@.txt", [[NSLocale currentLocale] objectForKey:NSLocaleLanguageCode]]; |
444 NSString *rotation; |
444 NSString *rotation; |
445 if ([[UIScreen screens] count] > 1) { |
445 if (IS_DUALHEAD()) { |
446 CGRect screenBounds = [[[UIScreen screens] objectAtIndex:1] bounds]; |
446 CGRect screenBounds = [[[UIScreen screens] objectAtIndex:1] bounds]; |
447 width = (int) screenBounds.size.width; |
447 width = (int) screenBounds.size.width; |
448 height = (int) screenBounds.size.height; |
448 height = (int) screenBounds.size.height; |
449 rotation = @"0"; |
449 rotation = @"0"; |
450 } else { |
450 } else { |