Skip to content

Commit

Permalink
Fix another string mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Mar 9, 2025
1 parent 1ca2aab commit 144558e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/qt_glsl_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static glslp_t *glsl_parse(const char *f) {
strcpy(shader->shader_fn, f);
shader->shader_program = load_file(f);
if (!shader->shader_program) {
QMessageBox::critical((QWidget *) qApp->findChild<QWindow *>(), QObject::tr("GLSL error"), QObject::tr("Could not load shader %s").arg(shader->shader_fn));
QMessageBox::critical((QWidget *) qApp->findChild<QWindow *>(), QObject::tr("GLSL error"), QObject::tr("Could not load shader %1").arg(shader->shader_fn));
//wx_simple_messagebox("GLSL error", "Could not load shader %s\n", shader->shader_fn);
glslp_free(glslp);
return 0;
Expand Down

0 comments on commit 144558e

Please sign in to comment.