summaryrefslogtreecommitdiff
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:57 +0100
commitb45d7b9ba3d0fcba7d38842ea678152904bcb268 (patch)
tree931cbdb3b804d0dc3b006e3f8b5b4228e641ebba
parent5242f90ea10af7093ca88faf9949514309314f02 (diff)
e askpass - convert text to plain utf8 proeprly for passwd output
@fix
-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