Browse Source

Fix an an extra word;

bjorn 5 years ago
parent
commit
88a73e4430
2 changed files with 3 additions and 3 deletions
  1. 1 1
      api/init.lua
  2. 2 2
      api/lovr/callbacks/threaderror.lua

+ 1 - 1
api/init.lua

@@ -390,7 +390,7 @@ return {
       name = "threaderror",
       name = "threaderror",
       tag = "callbacks",
       tag = "callbacks",
       summary = "Called when an error occurs in a thread.",
       summary = "Called when an error occurs in a thread.",
-      description = "The `lovr.threaderror` callback is called whenever an error occurs in a Thread.  It receives a the Thread object where the error occurred and an error message.\n\nThe default implementation of this callback will call `lovr.errhand` with the error.",
+      description = "The `lovr.threaderror` callback is called whenever an error occurs in a Thread.  It receives the Thread object where the error occurred and an error message.\n\nThe default implementation of this callback will call `lovr.errhand` with the error.",
       key = "lovr.threaderror",
       key = "lovr.threaderror",
       module = "lovr",
       module = "lovr",
       related = {
       related = {

+ 2 - 2
api/lovr/callbacks/threaderror.lua

@@ -2,8 +2,8 @@ return {
   tag = 'callbacks',
   tag = 'callbacks',
   summary = 'Called when an error occurs in a thread.',
   summary = 'Called when an error occurs in a thread.',
   description = [[
   description = [[
-    The `lovr.threaderror` callback is called whenever an error occurs in a Thread.  It receives a
-    the Thread object where the error occurred and an error message.
+    The `lovr.threaderror` callback is called whenever an error occurs in a Thread.  It receives the
+    Thread object where the error occurred and an error message.
 
 
     The default implementation of this callback will call `lovr.errhand` with the error.
     The default implementation of this callback will call `lovr.errhand` with the error.
   ]],
   ]],