diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-20 16:07:15 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-20 16:07:15 +0100 |
commit | 30579fc3e7c73bbad5d376c43f226b2c16c7cebb (patch) | |
tree | c35633699d765d4dcf3d24d9df66623fdbe111f8 /src | |
parent | 7f5fb073782555839c11e914092d7b7ae98b62ab (diff) | |
download | lanes-30579fc3e7c73bbad5d376c43f226b2c16c7cebb.tar.gz lanes-30579fc3e7c73bbad5d376c43f226b2c16c7cebb.tar.bz2 lanes-30579fc3e7c73bbad5d376c43f226b2c16c7cebb.zip |
Fix bad formatted error message
Diffstat (limited to 'src')
-rw-r--r-- | src/intercopycontext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 1be4c53..fd6b5a5 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -350,10 +350,9 @@ void InterCopyContext::lookupNativeFunction() const | |||
350 | lua_pop(L2, 1); // L2: {} f | 350 | lua_pop(L2, 1); // L2: {} f |
351 | raise_luaL_error( | 351 | raise_luaL_error( |
352 | getErrL(), | 352 | getErrL(), |
353 | "%s%s: %s '%s' not found in %s destination transfer database.", | 353 | "%s%s: '%s' not found in %s destination transfer database.", |
354 | lua_isnil(L2, -1) ? "" : "INTERNAL ERROR IN ", | 354 | lua_isnil(L2, -1) ? "" : "INTERNAL ERROR IN ", |
355 | _from.empty() ? "main" : _from.data(), | 355 | _from.empty() ? "main" : _from.data(), |
356 | luaG_typename(L2, _objType), | ||
357 | _fqn.data(), | 356 | _fqn.data(), |
358 | _to.empty() ? "main" : _to.data()); | 357 | _to.empty() ? "main" : _to.data()); |
359 | return; | 358 | return; |