mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Make get_utf8_encode() directly aware of ugly_no_encode and remove get_ugly_no_encode()
This commit is contained in:
parent
24d68b7a25
commit
169a16fc7d
@ -381,7 +381,7 @@ void set_utf8_encode (bool encode)
|
||||
|
||||
bool get_utf8_encode (void)
|
||||
{
|
||||
return utf8_encode;
|
||||
return (!ugly_no_encode && utf8_encode);
|
||||
}
|
||||
|
||||
void set_ugly_no_encode (bool ugly)
|
||||
@ -389,8 +389,3 @@ void set_ugly_no_encode (bool ugly)
|
||||
ugly_no_encode = ugly;
|
||||
}
|
||||
|
||||
bool get_ugly_no_encode (void)
|
||||
{
|
||||
return ugly_no_encode;
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,6 @@ bool get_utf8_encode (void);
|
||||
|
||||
/* ugly ugly ugly */
|
||||
void set_ugly_no_encode (bool ugly);
|
||||
bool get_ugly_no_encode (void);
|
||||
|
||||
#else /* ENABLE_IRI */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user