projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
268713e
)
Fix file name encoding on Haiku file dialogs
author
Po Lu
<luangruo@yahoo.com>
Wed, 4 May 2022 07:26:43 +0000
(07:26 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 4 May 2022 07:26:43 +0000
(07:26 +0000)
* src/haikufns.c (Fhaiku_read_file_name): Use ENCODE_FILE and
DECODE_FILE correctly.
src/haikufns.c
patch
|
blob
|
history
diff --git
a/src/haikufns.c
b/src/haikufns.c
index bee41e4ec0aea5744f152bf2391057a58e91ba38..e88ded23ffe7e8f52b045b86fabf282d4b816a9a 100644
(file)
--- a/
src/haikufns.c
+++ b/
src/haikufns.c
@@
-2484,7
+2484,7
@@
Optional arg SAVE_TEXT, if non-nil, specifies some text to show in the entry fie
if (!NILP (dir))
{
CHECK_STRING (dir);
- dir =
DE
CODE_FILE (dir);
+ dir =
EN
CODE_FILE (dir);
}
if (!NILP (save_text))
@@
-2516,7
+2516,7
@@
Optional arg SAVE_TEXT, if non-nil, specifies some text to show in the entry fie
value = build_string (file_name);
free (file_name);
- return
EN
CODE_FILE (value);
+ return
DE
CODE_FILE (value);
}
DEFUN ("haiku-put-resource", Fhaiku_put_resource, Shaiku_put_resource,