source: trunk/dports/editors/emacs/files/patch-src-xterm-devel.c @ 21478

Last change on this file since 21478 was 21478, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 598 bytes
Line 
1--- emacs/src/xterm.c   Fri Dec 31 19:16:10 2004
2+++ emacs/src/xterm.c.new       Wed Jan 12 15:56:13 2005
3@@ -4731,7 +4731,7 @@
4          XawScrollbarSetThumb (widget, top, shown);
5        else
6          {
7-#ifdef HAVE_XAW3D
8+#if defined(HAVE_XAW3D) && defined(XAW_ARROW_SCROLLBARS)
9            ScrollbarWidget sb = (ScrollbarWidget) widget;
10            int scroll_mode = 0;
11 
12@@ -4751,7 +4751,7 @@
13 
14            XawScrollbarSetThumb (widget, top, shown);
15 
16-#ifdef HAVE_XAW3D
17+#if defined(HAVE_XAW3D) && defined(XAW_ARROW_SCROLLBARS)
18            if (xaw3d_arrow_scroll && scroll_mode == 2)
19              sb->scrollbar.scroll_mode = scroll_mode;
20 #endif
Note: See TracBrowser for help on using the repository browser.