mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 6e9eca21067a5f64a1567bdae3318eaa6f1b85dd
Monotone-Revision: f888fd45930561854ace6f34398242aa944a6f6d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-26T18:22:57 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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:.
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
NSString *type;
|
||||
|
||||
type = [[self value: 0 ofAttribute: @"type"] uppercaseString];
|
||||
if (!type)
|
||||
if (![type length])
|
||||
type = @"JPEG";
|
||||
|
||||
return type;
|
||||
|
||||
Reference in New Issue
Block a user