aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-03-09 20:10:32 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-03-09 20:10:32 +0100
commit947b00358bd14c650d0175e9a0672b7db757cec0 (patch)
tree2a6e098c1f4a92746c62a07e7bafdfe90bdbd384 /main/src
parentcd2bc69a176ad7f72dcd9b976af7d2630f18166c (diff)
downloadcgeo-947b00358bd14c650d0175e9a0672b7db757cec0.zip
cgeo-947b00358bd14c650d0175e9a0672b7db757cec0.tar.gz
cgeo-947b00358bd14c650d0175e9a0672b7db757cec0.tar.bz2
fix #1247: Inline-log-images not loading
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/CacheDetailActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java
index eb1ec40..969bc5e 100644
--- a/main/src/cgeo/geocaching/CacheDetailActivity.java
+++ b/main/src/cgeo/geocaching/CacheDetailActivity.java
@@ -1990,7 +1990,7 @@ public class CacheDetailActivity extends AbstractActivity {
if (StringUtils.isNotBlank(cache.getHint())) {
TextView hintView = ((TextView) view.findViewById(R.id.hint));
if (BaseUtils.containsHtml(cache.getHint())) {
- hintView.setText(Html.fromHtml(cache.getHint(), new HtmlImage(CacheDetailActivity.this, null, false, cache.getListId(), false), null), TextView.BufferType.SPANNABLE);
+ hintView.setText(Html.fromHtml(cache.getHint(), new HtmlImage(CacheDetailActivity.this, cache.getGeocode(), false, cache.getListId(), false), null), TextView.BufferType.SPANNABLE);
hintView.setText(CryptUtils.rot13((Spannable) hintView.getText()));
}
else {
@@ -2263,7 +2263,7 @@ public class CacheDetailActivity extends AbstractActivity {
// logtext, avoid parsing HTML if not necessary
if (BaseUtils.containsHtml(log.log)) {
- holder.text.setText(Html.fromHtml(log.log, new HtmlImage(CacheDetailActivity.this, null, false, cache.getListId(), false), null), TextView.BufferType.SPANNABLE);
+ holder.text.setText(Html.fromHtml(log.log, new HtmlImage(CacheDetailActivity.this, cache.getGeocode(), false, cache.getListId(), false), null), TextView.BufferType.SPANNABLE);
}
else {
holder.text.setText(log.log);