From 9ddb94c651f9f178e86a800901f9e1071ae3c6ec Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 15 Aug 2019 07:42:03 +0000 Subject: [PATCH] Fix typos in JSDOCS. --- src/sbbs3/js_conio.c | 2 +- src/sbbs3/js_socket.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/js_conio.c b/src/sbbs3/js_conio.c index 05cc634546..dbc06c4e3b 100644 --- a/src/sbbs3/js_conio.c +++ b/src/sbbs3/js_conio.c @@ -1045,7 +1045,7 @@ static jsSyncMethodSpec js_functions[] = { "<tr><td>\"SDL\"</td><td>Use the SDL library for output.</td></tr><tr><td>" "<tr><td>\"SDL_FULLSCREEN\"</td><td>Use the SDL library for output (fullscreen).</td></tr><tr><td>" "<tr><td>\"SDL_YUV\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling.</td></tr><tr><td>" - "<tr><td>\"SDL_YUV\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling (fullscreen).</td></tr><tr><td></table>" + "<tr><td>\"SDL_YUV_FULLSCREEN\"</td><td>Use the SDL library for output using an overlay which allows hardware-based arbitrary scaling (fullscreen).</td></tr><tr><td></table>" ),315 }, {"suspend", js_conio_suspend, 0 diff --git a/src/sbbs3/js_socket.c b/src/sbbs3/js_socket.c index 7451f445c1..8818404ba2 100644 --- a/src/sbbs3/js_socket.c +++ b/src/sbbs3/js_socket.c @@ -2860,7 +2860,7 @@ js_listening_socket_constructor(JSContext *cx, uintN argc, jsval *arglist) #ifdef BUILD_JSDOCS js_DescribeSyncObject(cx,obj,"Class used for incoming TCP/IP socket communications",317); js_DescribeSyncConstructor(cx,obj,"To create a new ListeningSocket object: " - "<tt>load('sockdefs.js'); var s = new ListeningSocket(<i>interface</i>, <i>port</i> ,<i>protocol</i>, {domain:<i>domain</i>, type:<i>type</i>, proto:<i>proto</i>, retry_count:<i>retry_count</i>, retry_delay:<i>retry_delay</i>)</tt><br>" + "<tt>load('sockdefs.js'); var s = new ListeningSocket(<i>interface</i>, <i>port</i> ,<i>protocol</i>, {domain:<i>domain</i>, type:<i>type</i>, proto:<i>proto</i>, retry_count:<i>retry_count</i>, retry_delay:<i>retry_delay</i>})</tt><br>" "where <i>interface</i> = A array or strings or a single string of hostnames or address optionally including a :port suffix<br>" "<i>port</i> = a port to use when the interface doesn't specify one<br>" "<i>protocol</i> = protocol name, used for socket options and logging.<br>" -- GitLab