diff src/scrollbar-x.c @ 84:ac0620f6398e r20-0b92

Import from CVS: tag r20-0b92
author cvs
date Mon, 13 Aug 2007 09:08:29 +0200
parents 6a378aca36af
children 364816949b59
line wrap: on
line diff
--- a/src/scrollbar-x.c	Mon Aug 13 09:07:39 2007 +0200
+++ b/src/scrollbar-x.c	Mon Aug 13 09:08:29 2007 +0200
@@ -58,7 +58,7 @@
 static int
 x_inhibit_scrollbar_thumb_size_change (void)
 {
-  /* Doeesn't work with Athena */
+  /* Doesn't work with Athena */
 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID)
   return inhibit_thumb_size_change;
 #else
@@ -597,8 +597,9 @@
       SCROLLBAR_X_VDRAG_ORIG_VALUE (instance) = data->slider_value;
       SCROLLBAR_X_VDRAG_ORIG_WINDOW_START (instance) =
 	XINT (Fwindow_start (win));
+#else
+      stupid_vertical_scrollbar_drag_hack = 0;
 #endif
-      stupid_vertical_scrollbar_drag_hack = 0;
       break;
 
     case SCROLLBAR_DRAG: