diff options
-rw-r--r-- | main/src/cgeo/geocaching/cgBase.java | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/cgDirectionImg.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/cgBase.java b/main/src/cgeo/geocaching/cgBase.java index d315d66..001b704 100644 --- a/main/src/cgeo/geocaching/cgBase.java +++ b/main/src/cgeo/geocaching/cgBase.java @@ -716,7 +716,7 @@ public class cgBase { final Matcher matcherDirection = patternDirection.matcher(row); while (matcherDirection.find()) { if (matcherDirection.groupCount() > 0) { - cache.directionImg = matcherDirection.group(1); + cache.directionImg = URLDecoder.decode(matcherDirection.group(1)); } } } catch (Exception e) { diff --git a/main/src/cgeo/geocaching/cgDirectionImg.java b/main/src/cgeo/geocaching/cgDirectionImg.java index 9c26b41..964af5d 100644 --- a/main/src/cgeo/geocaching/cgDirectionImg.java +++ b/main/src/cgeo/geocaching/cgDirectionImg.java @@ -9,7 +9,7 @@ import java.io.File; public class cgDirectionImg { - public static void getDrawable(String geocode, String code) { + public static void getDrawable(final String geocode, final String code) { if (StringUtils.isBlank(geocode) || StringUtils.isBlank(code)) { return; } |