[nostalgia/tools/pack] Fix oxAssert to use new parameter order
This commit is contained in:
parent
2c582617e3
commit
29734d5ee1
@ -6,8 +6,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
@ -54,7 +52,7 @@ int main(int argc, const char **args) {
|
||||
try {
|
||||
run(ox::ClArgs(argc, args));
|
||||
} catch (const ox::Error &err) {
|
||||
oxPanic(err, "pack failed");
|
||||
oxPanic("pack failed", err);
|
||||
std::cerr << "pack failed...\n";
|
||||
return static_cast<int>(err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user