Changes to qemacs/dired.c

Charlie Gordon <[email protected]>
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
Index: qemacs/dired.c
diff -u qemacs/dired.c:1.3 qemacs/dired.c:1.4
--- qemacs/dired.c:1.3	Sun May  8 16:31:47 2005
+++ qemacs/dired.c	Mon May  9 01:29:34 2005
@@ -347,7 +347,7 @@
     if (S_ISDIR(st.st_mode)) {
         build_dired_list(s, filename);
     } else if (S_ISREG(st.st_mode)) {
-        e = find_window_right(s);
+        e = find_window(s, KEY_RIGHT);
         if (e) {
             /* delete dired window */
             do_delete_window(s, 1);
@@ -364,7 +364,7 @@
     EditBuffer *b;
     EditState *e, *e1;
 
-    e = find_window_right(s);
+    e = find_window(s, KEY_RIGHT);
     if (!e)
         return;
     /* close previous temporary buffers, if any */
@@ -515,7 +515,7 @@
     do_set_mode(e, &dired_mode, NULL);
     hs = e->mode_data;
 
-    e1 = find_window_right(e);
+    e1 = find_window(e, KEY_RIGHT);
     if (e1)
 	b0 = e1->b;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.