--- loncom/homework/radiobuttonresponse.pm	2003/04/04 23:35:17	1.65
+++ loncom/homework/radiobuttonresponse.pm	2003/04/07 22:28:08	1.67
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # mutliple choice style responses
 #
-# $Id: radiobuttonresponse.pm,v 1.65 2003/04/04 23:35:17 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.67 2003/04/07 22:28:08 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -169,9 +169,7 @@ sub end_foilgroup {
       }
     }
   }
-  if ($target eq 'tex' && $Apache::lonhomework::type eq 'exam') {
-      &Apache::lonxml::increment_counter();
-  }
+  &Apache::lonxml::increment_counter();
   return $result;
 }
 
@@ -391,9 +389,7 @@ sub displayfoils {
     my %lastresponse=&Apache::lonnet::str2hash($lastresponse);
     foreach my $name (@whichfoils) {
       if ($target ne 'tex') {
-          my $ValueForInput;
-	  if ($Apache::lonhomework::type ne 'exam') {$ValueForInput=$temp;} else {$ValueForInput=$alphabet[$temp];}
-	  $result.="<br /><input type=\"radio\" name=\"HWVAL$Apache::inputtags::response['-1']\" value=\"$ValueForInput\" ";
+	  $result.="<br /><input type=\"radio\" name=\"HWVAL$Apache::inputtags::response['-1']\" value=\"$temp\" ";
 	  if (defined($lastresponse{$name})) { $result .= 'checked="on"'; }
 	  $result .= '>'.$Apache::response::foilgroup{$name.'.text'}."</input>\n";
       } else {