forked from mirrors/linphone-iphone
Better duration computation code
This commit is contained in:
parent
24051b4221
commit
8752783d29
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@
|
|||
}
|
||||
|
||||
int duration = linphone_call_get_duration(call);
|
||||
[stateLabel setText:[NSString stringWithFormat:@"%02i:%02i", (duration/60), duration - 60 * (duration / 60), nil]];
|
||||
[stateLabel setText:[NSString stringWithFormat:@"%02i:%02i", (duration/60), (duration%60), nil]];
|
||||
|
||||
if(!data->minimize) {
|
||||
CGRect frame = [self frame];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue