Scripting: Fix typo in docs

This commit is contained in:
Vicki Pfau 2023-09-27 16:47:43 -07:00
parent 4215332eb4
commit 1dd00d5bb0
1 changed files with 1 additions and 1 deletions

View File

@ -184,5 +184,5 @@ void mScriptContextAttachImage(struct mScriptContext* context) {
mScriptContextSetDocstring(context, "image", "Methods for creating struct::mImage and struct::mPainter instances");
mScriptContextSetDocstring(context, "image.new", "Create a new image with the given dimensions");
mScriptContextSetDocstring(context, "image.load", "Load an image from a path. Currently, only `PNG` format is supported");
mScriptContextSetDocstring(context, "image.newPainter", "Create a new painter from an existing imamge");
mScriptContextSetDocstring(context, "image.newPainter", "Create a new painter from an existing image");
}