rem: if (aLabel.charAt(0) == '&') { 
add: if (/^\&[^\&]/.test(aLabel)) { 
context: function setLabelForNode(aNode, aLabel, aIsLabelFlag){  // This is for labels with possible accesskeys  var accessKeyIndex;  if (aLabel.charAt(0) == '&') {   accessKeyIndex = 0;  } else {    accessKeyIndex = aLabel.search(/[^\&]\&[^\&]/) + 1;    if (accessKeyIndex == 0) {      accessKeyIndex = -1; // magic value for no accesskey    }  }  // If a character has an & before it, then it should become an accesskey  if (accessKeyIndex >= 0 && accessKeyIndex < aLabel.length - 1) {    // This will also cause the accesskey attribute to be set via xbl    aNode.accessKey = aLabel.charAt(accessKeyIndex + 1);    // Set the label to the string without the &    aLabel = aLabel.substr(0, accessKeyIndex) +              aLabel.substr(accessKeyIndex + 1);  }  aLabel = aLabel.replace(/\&\&/, "&");  if (aIsLabelFlag) {    // Set text for <label> element    aNode.setAttribute("value", aLabel);  } else {    // Set text for other xul elements    aNode.label = aLabel;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0c0a6ffa8e7f6a9cbd43c7b0a19e5957f556fdd9/commonDialog.js/buggy/xpfe/global/resources/content/commonDialog.js