mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 06:52:40 +00:00
See ChangeLog.
Monotone-Parent: 82cf74276a48a04d2d3bb16da3ed5b73576a77ef Monotone-Revision: 1f900dd9f1637dad2237767e5a65271c06b27df0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-12-12T15:43:17
This commit is contained in:
1 parent
3d3392b67b
commit
c22167ba87
3 files changed
+25
-3
No files matched your search
@@ -104,7 +104,7 @@
|
||||
- (NSString *) fullName
|
||||
{
|
||||
CardElement *n;
|
||||
NSString *fn, *firstName, *lastName;
|
||||
NSString *fn, *firstName, *lastName, *org;
|
||||
|
||||
fn = [card fn];
|
||||
if ([fn length] == 0)
|
||||
@@ -119,8 +119,14 @@
|
||||
else
|
||||
fn = firstName;
|
||||
}
|
||||
else
|
||||
else if ([lastName length] > 0)
|
||||
fn = lastName;
|
||||
else
|
||||
{
|
||||
n = [card org];
|
||||
org = [n flattenedValueAtIndex: 0 forKey: @""];
|
||||
fn = org;
|
||||
}
|
||||
}
|
||||
|
||||
return fn;
|
||||
|
||||
Reference in new issue
Block a user