Bläddra i källkod

Fix an an extra word;

bjorn 5 år sedan
förälder
incheckning
88a73e4430
2 ändrade filer med 3 tillägg och 3 borttagningar
  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",
       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.
   ]],