Monotone-Parent: 6e9eca21067a5f64a1567bdae3318eaa6f1b85dd

Monotone-Revision: f888fd45930561854ace6f34398242aa944a6f6d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-10-26T18:22:57
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-10-26 18:22:57 +00:00
parent 9bd55f166b
commit 068d642177
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2010-10-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* NGVCardPhoto.m (-type): fixed the returning of the default type.
* CardElement.m (-setValues:): new method. Actual renamed version
of prior setValuesAsCopy:.

View File

@ -40,7 +40,7 @@
NSString *type;
type = [[self value: 0 ofAttribute: @"type"] uppercaseString];
if (!type)
if (![type length])
type = @"JPEG";
return type;