mirror of https://github.com/WerWolv/ImHex.git
parent
0693bb8d51
commit
c9342d90fb
|
@ -1 +1 @@
|
||||||
Subproject commit 0046a79f7449030098ffef3f763cc8fb10bd343f
|
Subproject commit 5ca81bbe2fb32e6059f3a887d03da2fa6f39cea1
|
|
@ -895,7 +895,7 @@ namespace hex::plugin::builtin {
|
||||||
[this](const auto &path) {
|
[this](const auto &path) {
|
||||||
wolv::io::File file(path, wolv::io::File::Mode::Create);
|
wolv::io::File file(path, wolv::io::File::Mode::Create);
|
||||||
|
|
||||||
file.write(this->m_textEditor.GetText());
|
file.write(wolv::util::trim(this->m_textEditor.GetText()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1057,7 +1057,7 @@ namespace hex::plugin::builtin {
|
||||||
else
|
else
|
||||||
sourceCode = ProviderExtraData::get(provider).patternLanguage.sourceCode;
|
sourceCode = ProviderExtraData::get(provider).patternLanguage.sourceCode;
|
||||||
|
|
||||||
tar.write(basePath, sourceCode);
|
tar.write(basePath, wolv::util::trim(sourceCode));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue