git://git.nikiroo.be
/
jvcard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d254a
)
save/load photos: do not add ".png" by force
author
Niki Roo
<niki@nikiroo.be>
Sat, 26 Mar 2016 21:17:53 +0000
(22:17 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Sat, 26 Mar 2016 21:17:53 +0000
(22:17 +0100)
src/be/nikiroo/jvcard/launcher/Main.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/jvcard/launcher/Main.java
b/src/be/nikiroo/jvcard/launcher/Main.java
index 9df98e2e93eb8a0306836a3516f1389d952c21a2..b57a0f758711af87176d90d560f78d13b7fb0eac 100644
(file)
--- a/
src/be/nikiroo/jvcard/launcher/Main.java
+++ b/
src/be/nikiroo/jvcard/launcher/Main.java
@@
-321,7
+321,7
@@
public class Main {
Card card = getCard(file, null).getCard();
for (Contact contact : card) {
String filename = contact.toString(format, "");
- File f = new File(dir, filename
+ ".png"
);
+ File f = new File(dir, filename);
if (f.exists()) {
try {