2
0
bjorn 5 жил өмнө
parent
commit
88a73e4430

+ 1 - 1
api/init.lua

@@ -390,7 +390,7 @@ return {
       name = "threaderror",
       tag = "callbacks",
       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",
       module = "lovr",
       related = {

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

@@ -2,8 +2,8 @@ return {
   tag = 'callbacks',
   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.
+    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.
   ]],