emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/image.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/image.c
Date: Mon, 03 Apr 2006 01:23:03 +0000

Index: emacs/src/image.c
diff -u emacs/src/image.c:1.50 emacs/src/image.c:1.51
--- emacs/src/image.c:1.50      Thu Mar 16 08:05:34 2006
+++ emacs/src/image.c   Mon Apr  3 01:23:03 2006
@@ -39,6 +39,8 @@
 #include "blockinput.h"
 #include "systime.h"
 #include <epaths.h>
+#include "charset.h"
+#include "coding.h"
 
 
 #ifdef HAVE_X_WINDOWS
@@ -2246,8 +2248,8 @@
 
 
 /* Find image file FILE.  Look in data-directory, then
-   x-bitmap-file-path.  Value is the full name of the file found, or
-   nil if not found.  */
+   x-bitmap-file-path.  Value is the encoded full name of the file
+   found, or nil if not found.  */
 
 Lisp_Object
 x_find_image_file (file)
@@ -2267,7 +2269,10 @@
   if (fd == -1)
     file_found = Qnil;
   else
-    close (fd);
+    {
+      file_found = ENCODE_FILE (file_found);
+      close (fd);
+    }
 
   UNGCPRO;
   return file_found;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]