Merge pull request #257 from Splendide-Imaginarius/mkxp-z-occurred
Some checks failed
Automatic Build / Windows (push) Has been cancelled
Automatic Build / Ubuntu 22.04 x86_64 (push) Has been cancelled
Automatic Build / Ubuntu 22.04 arm64 (push) Has been cancelled
Automatic Build / Ubuntu 22.04 armv6 (push) Has been cancelled
Automatic Build / Ubuntu 22.04 armv7 (push) Has been cancelled
Automatic Build / Ubuntu 22.04 armv7-neon (push) Has been cancelled
Automatic Build / Ubuntu 22.04 power8le (push) Has been cancelled
Automatic Build / Ubuntu 22.04 power9le (push) Has been cancelled
Automatic Build / Ubuntu 22.04 riscv64 (push) Has been cancelled
Automatic Build / Ubuntu 22.04 s390x (push) Has been cancelled
Automatic Build / Debian Trixie x86_64 (push) Has been cancelled
Automatic Build / Debian Trixie arm64 (push) Has been cancelled
Automatic Build / Debian Trixie armv6 (push) Has been cancelled
Automatic Build / Debian Trixie armv7 (push) Has been cancelled
Automatic Build / Debian Trixie armv7-neon (push) Has been cancelled
Automatic Build / Debian Trixie s390x (push) Has been cancelled
Automatic Build / macOS (push) Has been cancelled
Automatic Build / Debian Trixie power8le (push) Has been cancelled
Automatic Build / Debian Trixie power9le (push) Has been cancelled
Automatic Build / Debian Trixie riscv64 (push) Has been cancelled

Fix misspelling of "occurred"
This commit is contained in:
Splendide Imaginarius 2025-07-03 23:16:57 +00:00 committed by GitHub
commit 6833b5b4b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -1163,7 +1163,7 @@ static void showExc(VALUE exc, const BacktraceData &btData) {
file = btData.scriptNames.value(file, file);
std::string ms(640, '\0');
snprintf(&ms[0], ms.size(), "Script '%s' line %s: %s occured.\n\n%s",
snprintf(&ms[0], ms.size(), "Script '%s' line %s: %s occurred.\n\n%s",
file.c_str(), line, RSTRING_PTR(name), RSTRING_PTR(msg));
showMsg(ms);

View file

@ -200,7 +200,7 @@ void Shader::init(const unsigned char *vert, int vertSize,
{
printShaderLog(vertShader);
throw Exception(Exception::MKXPError,
"GLSL: An error occured while compiling vertex shader '%s' in program '%s'",
"GLSL: An error occurred while compiling vertex shader '%s' in program '%s'",
vertName, programName);
}
@ -214,7 +214,7 @@ void Shader::init(const unsigned char *vert, int vertSize,
{
printShaderLog(fragShader);
throw Exception(Exception::MKXPError,
"GLSL: An error occured while compiling fragment shader '%s' in program '%s'",
"GLSL: An error occurred while compiling fragment shader '%s' in program '%s'",
fragName, programName);
}
@ -234,7 +234,7 @@ void Shader::init(const unsigned char *vert, int vertSize,
{
printProgramLog(program);
throw Exception(Exception::MKXPError,
"GLSL: An error occured while linking program '%s' (vertex '%s', fragment '%s')",
"GLSL: An error occurred while linking program '%s' (vertex '%s', fragment '%s')",
programName, vertName, fragName);
}
}