summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-15 14:40:17 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-15 14:40:17 +0100
commit15f049f77754396f80bbdecedf73a4b418f4bc2e (patch)
tree67fb347670c00f2decf21bd1f350911c5a2e2ce8 /src
parenta3d981fa7457310fef81bd0f559e3f74d6314d60 (diff)
e askpass - convert text to plain utf8 proeprly for passwd output
@fix
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_askpass_main.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bin/e_askpass_main.c b/src/bin/e_askpass_main.c
index 3caffe0ea..f16f460db 100644
--- a/src/bin/e_askpass_main.c
+++ b/src/bin/e_askpass_main.c
@@ -18,7 +18,15 @@ static void
18password_out(void) 18password_out(void)
19{ 19{
20 const char *str = elm_object_text_get(entry); 20 const char *str = elm_object_text_get(entry);
21 if (str) printf("%s\n", str); 21 if (str)
22 {
23 char *plain = elm_entry_markup_to_utf8(str);
24 if (plain)
25 {
26 printf("%s\n", plain);
27 free(plain);
28 }
29 }
22} 30}
23 31
24static void 32static void