From 9f8d5261a99ff5fd0ae9ae6737903fc514d6bfe8 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 27 Dec 2006 09:19:26 +0000
Subject: [PATCH] Fixed JSDOC compilation errors.

---
 src/sbbs3/js_console.cpp | 2 +-
 src/sbbs3/js_global.c    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sbbs3/js_console.cpp b/src/sbbs3/js_console.cpp
index 21270ec6d1..4154317792 100644
--- a/src/sbbs3/js_console.cpp
+++ b/src/sbbs3/js_console.cpp
@@ -329,7 +329,7 @@ static char* con_prop_desc[] = {
 		"the first character, the value will be replaced by one constructed "
 		"from the string. A + indicates that characters following will be "
 		"added to the set, and a - indicates they should be removed. "
-		"ex: <tt>console.ctrlkey_passthru="-UP+AB"</tt> will clear CTRL-U and "
+		"ex: <tt>console.ctrlkey_passthru=\"-UP+AB\"</tt> will clear CTRL-U and "
 		"CTRL-P and set CTRL-A and CTRL-B."
 	,"number of bytes currently in the input buffer (from the remote client) - <small>READ ONLY</small>"
 	,"number of bytes available in the input buffer	- <small>READ ONLY</small>"
diff --git a/src/sbbs3/js_global.c b/src/sbbs3/js_global.c
index ad02803ba4..0e1a759dcc 100644
--- a/src/sbbs3/js_global.c
+++ b/src/sbbs3/js_global.c
@@ -3140,8 +3140,8 @@ static jsSyncMethodSpec js_global_functions[] = {
 	,JSDOCSTR("expand line-feeds (LF) to carriage-return/line-feeds (CRLF), returns modified string")
 	,310
 	},
-	{"wildmatch",		js_wildmatch,		2,	JSTYPE_BOOLEAN, JSDOCSTR("[case_sensitive=<tt>false</tt>,] string [,pattern=<tt>"*"</tt>] [,path=<tt>false</tt>]")
-	,JSDOCSTR("returns <tt>true</tt> if the <i>string</i> matches the wildcard <i>pattern</i> (wildcard supported are '*' and '?'), "
+	{"wildmatch",		js_wildmatch,		2,	JSTYPE_BOOLEAN, JSDOCSTR("[case_sensitive=<tt>false</tt>,] string [,pattern=<tt>'*'</tt>] [,path=<tt>false</tt>]")
+	,JSDOCSTR("returns <tt>true</tt> if the <i>string</i> matches the wildcard <i>pattern</i> (wildcards supported are '*' and '?'), "
 	"if <i>path</i> is <tt>true</tt>, '*' will not match path delimeter characters (e.g. '/')")
 	,314
 	},
-- 
GitLab