mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-23 15:23:44 +02:00
Fix misspelling of "occurred"
This commit is contained in:
parent
fc42d5f1ea
commit
75f9caadbb
2 changed files with 4 additions and 4 deletions
|
@ -1163,7 +1163,7 @@ static void showExc(VALUE exc, const BacktraceData &btData) {
|
||||||
file = btData.scriptNames.value(file, file);
|
file = btData.scriptNames.value(file, file);
|
||||||
|
|
||||||
std::string ms(640, '\0');
|
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));
|
file.c_str(), line, RSTRING_PTR(name), RSTRING_PTR(msg));
|
||||||
|
|
||||||
showMsg(ms);
|
showMsg(ms);
|
||||||
|
|
|
@ -200,7 +200,7 @@ void Shader::init(const unsigned char *vert, int vertSize,
|
||||||
{
|
{
|
||||||
printShaderLog(vertShader);
|
printShaderLog(vertShader);
|
||||||
throw Exception(Exception::MKXPError,
|
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);
|
vertName, programName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ void Shader::init(const unsigned char *vert, int vertSize,
|
||||||
{
|
{
|
||||||
printShaderLog(fragShader);
|
printShaderLog(fragShader);
|
||||||
throw Exception(Exception::MKXPError,
|
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);
|
fragName, programName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ void Shader::init(const unsigned char *vert, int vertSize,
|
||||||
{
|
{
|
||||||
printProgramLog(program);
|
printProgramLog(program);
|
||||||
throw Exception(Exception::MKXPError,
|
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);
|
programName, vertName, fragName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue