diff options
Diffstat (limited to 'src/cgeo/geocaching/cgDirectionImg.java')
| -rw-r--r-- | src/cgeo/geocaching/cgDirectionImg.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgeo/geocaching/cgDirectionImg.java b/src/cgeo/geocaching/cgDirectionImg.java index 52ff7f3..f9227b2 100644 --- a/src/cgeo/geocaching/cgDirectionImg.java +++ b/src/cgeo/geocaching/cgDirectionImg.java @@ -73,11 +73,11 @@ public class cgDirectionImg { fos.write(buffer, 0, l); } ok = true; + fos.flush(); } catch (IOException e) { Log.e(cgSettings.tag, "cgDirectionImg.getDrawable (saving to cache): " + e.toString()); } finally { is.close(); - fos.flush(); fos.close(); } } |
