two formatting fixes

This commit is contained in:
stefanp 2002-12-02 12:23:19 +00:00
parent 428b1ab1ef
commit 1f9846f157
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ function typeProperties_macro (param) {
// look up in mappings table if line matches:
for (var e = mappings.keys (); e.hasMoreElements (); ) {
var key = e.nextElement ();
var reg = new RegExp ('^' + key + '\\W');
var reg = new RegExp ('^' + key + '\\s');
if (arr[i].match (reg)) {
// it matched, wrap line in a link to that prototype:
var docProtoObj = this.getApplication ().getPrototype (mappings.getProperty (key));