--- loncom/homework/radiobuttonresponse.pm	2004/08/26 22:08:30	1.91
+++ loncom/homework/radiobuttonresponse.pm	2004/08/27 21:47:34	1.92
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # mutliple choice style responses
 #
-# $Id: radiobuttonresponse.pm,v 1.91 2004/08/26 22:08:30 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.92 2004/08/27 21:47:34 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -474,7 +474,7 @@ sub displayfoils {
 	    $result.="</tr></table>";
 	}
     }
-    if ($target ne 'tex') { $result.="<br />"; } else { $result.='\vskip 0 mm '; }
+    if ($target ne 'tex') { if ($direction ne 'horizontal') { $result.="<br />";} } else { $result.='\vskip 0 mm '; }
     return $result;
 }