diff --git a/src/ritobin/text_write.cpp b/src/ritobin/text_write.cpp index a318216..ac6c815 100644 --- a/src/ritobin/text_write.cpp +++ b/src/ritobin/text_write.cpp @@ -102,7 +102,6 @@ namespace ritobin { '\\', 'x', digits[(c >> 4) & 0x0F], digits[c & 0x0F], - '0', '\0' }; write_raw(hex); diff --git a/src/ritobin2txt.cpp b/src/ritobin2txt.cpp index 437a33e..10983b7 100644 --- a/src/ritobin2txt.cpp +++ b/src/ritobin2txt.cpp @@ -16,7 +16,7 @@ int main(int argc, char** argv) { fs::path outfile = argc > 2 ? argv[2] : ""; if (argc < 3) { outfile = infile; - outfile.replace_extension("qml"); + outfile.replace_extension("py"); } ritobin::BinUnhasher unhasher = {};