mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
git: Various style fixes everywhere, removing whitespaces (#321)
* repo-wide: trim trailing spaces Note: This doesn't touch the .tbl files in encodings/ since they include meaningful trailing spaces (`20= `) * patterns: clean up duplicate semicolons * ELF: add header magic check * glTF: use type::Magic for magic value * glTF: check that the file size in the header matches * xgstexture: fix generics syntax for magic value * JPEG: define hex enum with 0x00 instead of 0X00 * CI: update deprecated actions --------- Co-authored-by: Nik <werwolv98@gmail.com>
This commit is contained in:
@@ -47,7 +47,7 @@ int main(int argc, char **argv) {
|
||||
return true;
|
||||
};
|
||||
|
||||
runtime.setDataSource(0x00, testFile.getSize(),
|
||||
runtime.setDataSource(0x00, testFile.getSize(),
|
||||
[&](pl::u64 address, pl::u8 *data, size_t size) {
|
||||
testFile.seek(address);
|
||||
testFile.readBuffer(data, size);
|
||||
@@ -58,7 +58,7 @@ int main(int argc, char **argv) {
|
||||
runtime.addPragma("MIME", DummyPragmaHandler);
|
||||
runtime.addPragma("description", DescPragmaHandler);
|
||||
runtime.addDefine("__PL_UNIT_TESTS__");
|
||||
|
||||
|
||||
runtime.setLogCallback([](auto level, const std::string &message) {
|
||||
switch (level) {
|
||||
using enum pl::core::LogConsole::Level;
|
||||
|
||||
Reference in New Issue
Block a user