mirror of https://github.com/aria2/aria2
2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed 'always true' condition * src/util.ccpull/1/head
parent
8429dcf593
commit
ab0662e580
|
@ -1,3 +1,8 @@
|
||||||
|
2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Removed 'always true' condition
|
||||||
|
* src/util.cc
|
||||||
|
|
||||||
2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-02-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Documented --bt-enable-lpd option in man page.
|
Documented --bt-enable-lpd option in man page.
|
||||||
|
|
|
@ -661,7 +661,7 @@ std::string iso8859ToUtf8(const std::string& src)
|
||||||
std::string dest;
|
std::string dest;
|
||||||
for(std::string::const_iterator itr = src.begin(); itr != src.end(); ++itr) {
|
for(std::string::const_iterator itr = src.begin(); itr != src.end(); ++itr) {
|
||||||
unsigned char c = *itr;
|
unsigned char c = *itr;
|
||||||
if(0xa0 <= c && c <= 0xff) {
|
if(0xa0 <= c) {
|
||||||
if(c <= 0xbf) {
|
if(c <= 0xbf) {
|
||||||
dest += 0xc2;
|
dest += 0xc2;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue