From 6707709190ffc94d8c063ff95bc7fba8abe08ef5 Mon Sep 17 00:00:00 2001 From: moonshadow565 Date: Mon, 6 Jan 2020 12:23:18 +0000 Subject: [PATCH] fix typo in hex string text writer --- src/ritobin/text_write.cpp | 1 - src/ritobin2txt.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 = {};