git://git.nikiroo.be
/
jvcard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jdoc + some fixes
[jvcard.git]
/
src
/
be
/
nikiroo
/
jvcard
/
tui
/
panes
/
ContactDetails.java
diff --git
a/src/be/nikiroo/jvcard/tui/panes/ContactDetails.java
b/src/be/nikiroo/jvcard/tui/panes/ContactDetails.java
index b2bb5626c91e5296ce9962f65051b8c36b1812bd..0814ed06a7db6ed207a5b1c38a9f3a4d808a4093 100644
(file)
--- a/
src/be/nikiroo/jvcard/tui/panes/ContactDetails.java
+++ b/
src/be/nikiroo/jvcard/tui/panes/ContactDetails.java
@@
-48,7
+48,8
@@
public class ContactDetails extends MainContent {
if (photo != null) {
TypeInfo encoding = null;
TypeInfo type = null;
if (photo != null) {
TypeInfo encoding = null;
TypeInfo type = null;
- for (TypeInfo info : photo.getTypes()) {
+ for (int index = 0; index < photo.size(); index++) {
+ TypeInfo info = photo.get(index);
if (info.getName() != null) {
if (info.getName().equalsIgnoreCase("ENCODING"))
encoding = info;
if (info.getName() != null) {
if (info.getName().equalsIgnoreCase("ENCODING"))
encoding = info;