forked from enlightenment/enlightenment
e askpass - convert text to plain utf8 proeprly for passwd output
@fix
This commit is contained in:
parent
5242f90ea1
commit
b45d7b9ba3
|
@ -18,7 +18,15 @@ static void
|
|||
password_out(void)
|
||||
{
|
||||
const char *str = elm_object_text_get(entry);
|
||||
if (str) printf("%s\n", str);
|
||||
if (str)
|
||||
{
|
||||
char *plain = elm_entry_markup_to_utf8(str);
|
||||
if (plain)
|
||||
{
|
||||
printf("%s\n", plain);
|
||||
free(plain);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue