diff options
Diffstat (limited to 'src/cgeo/geocaching/cgHtmlImg.java')
| -rw-r--r-- | src/cgeo/geocaching/cgHtmlImg.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgeo/geocaching/cgHtmlImg.java b/src/cgeo/geocaching/cgHtmlImg.java index 36fc1fc..f3e9f20 100644 --- a/src/cgeo/geocaching/cgHtmlImg.java +++ b/src/cgeo/geocaching/cgHtmlImg.java @@ -230,11 +230,11 @@ public class cgHtmlImg implements Html.ImageGetter { while ((l = is.read(buffer)) != -1) { fos.write(buffer, 0, l); } + fos.flush(); } catch (IOException e) { Log.e(cgSettings.tag, "cgHtmlImg.getDrawable (saving to cache): " + e.toString()); } finally { is.close(); - fos.flush(); fos.close(); } } |
