diff src/EmacsFrame.c @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents c42ec1d1cded
children 8626e4521993
line wrap: on
line diff
--- a/src/EmacsFrame.c	Mon Aug 13 10:34:15 2007 +0200
+++ b/src/EmacsFrame.c	Mon Aug 13 10:35:03 2007 +0200
@@ -571,13 +571,17 @@
   toVal->size = sizeof (cvt_string_scrollbar_placement);
   toVal->addr = (XPointer) &cvt_string_scrollbar_placement;
 
-  if      (q == XrmStringToQuark ("top_left"))
+  if      (q == XrmStringToQuark ("top-left")
+	   || q == XrmStringToQuark ("top_left"))
     cvt_string_scrollbar_placement = XtTOP_LEFT;
-  else if (q == XrmStringToQuark ("bottom_left"))
+  else if (q == XrmStringToQuark ("bottom-left")
+	   || q == XrmStringToQuark ("bottom_left"))
     cvt_string_scrollbar_placement = XtBOTTOM_LEFT;
-  else if (q == XrmStringToQuark ("top_right"))
+  else if (q == XrmStringToQuark ("top-right")
+	   || q == XrmStringToQuark ("top_right"))
     cvt_string_scrollbar_placement = XtTOP_RIGHT;
-  else if (q == XrmStringToQuark ("bottom_right"))
+  else if (q == XrmStringToQuark ("bottom-right")
+	   || q == XrmStringToQuark ("bottom_right"))
     cvt_string_scrollbar_placement = XtBOTTOM_RIGHT;
   else
     {