diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-02-05 09:49:06 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-02-05 09:49:06 +0100 |
commit | 1a65622af5d97bfcf56c84e90e40bfd0b214e43b (patch) | |
tree | d4ba0b20e995fd9cfc5030c3d889c2a963b10b73 /src/de/blinkt/openvpn/CIDRIP.java | |
parent | 84ccab8d6510835316b0a89085dae31801bd50dc (diff) |
Fix Locale related errors/bugs. Update … to unicode replacement. Fix the speed display.
Diffstat (limited to 'src/de/blinkt/openvpn/CIDRIP.java')
-rw-r--r-- | src/de/blinkt/openvpn/CIDRIP.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/CIDRIP.java b/src/de/blinkt/openvpn/CIDRIP.java index ccb3836a..d3939dfc 100644 --- a/src/de/blinkt/openvpn/CIDRIP.java +++ b/src/de/blinkt/openvpn/CIDRIP.java @@ -1,5 +1,7 @@ package de.blinkt.openvpn; +import java.util.Locale; + class CIDRIP{ String mIp; int len; @@ -26,7 +28,7 @@ class CIDRIP{ } @Override public String toString() { - return String.format("%s/%d",mIp,len); + return String.format(Locale.ENGLISH,"%s/%d",mIp,len); } public boolean normalise(){ |