aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2007-05-30 04:47:24 +0000
committerDai Sato <satodai@w3m.jp>2007-05-30 04:47:24 +0000
commit8917c3d381d1f13d798c250705c0a1e9d547f821 (patch)
tree84a4e28ba094da21b7c62869bad276834ce9f513 /fm.h
parentadd #ifdef __CYGWIN__. [w3m-dev 04265] (diff)
downloadw3m-8917c3d381d1f13d798c250705c0a1e9d547f821.tar.gz
w3m-8917c3d381d1f13d798c250705c0a1e9d547f821.zip
fix for tab browsing. [w3m-dev 04266]
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/fm.h b/fm.h
index 78484c3..7ac6b30 100644
--- a/fm.h
+++ b/fm.h
@@ -1,4 +1,4 @@
-/* $Id: fm.h,v 1.137 2007/05/23 13:07:44 inu Exp $ */
+/* $Id: fm.h,v 1.138 2007/05/30 04:47:24 inu Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -523,6 +523,13 @@ typedef struct _DownloadList {
} DownloadList;
#define DOWNLOAD_LIST_TITLE "Download List Panel"
+#define COPY_BUFROOT(dstbuf, srcbuf) {\
+ (dstbuf)->rootX = (srcbuf)->rootX; \
+ (dstbuf)->rootY = (srcbuf)->rootY; \
+ (dstbuf)->COLS = (srcbuf)->COLS; \
+ (dstbuf)->LINES = (srcbuf)->LINES; \
+}
+
#define COPY_BUFPOSITION(dstbuf, srcbuf) {\
(dstbuf)->topLine = (srcbuf)->topLine; \
(dstbuf)->currentLine = (srcbuf)->currentLine; \