diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-10-05 22:44:11 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-10-05 22:44:11 +0200 |
commit | 3e15996dac725dead8d3d7e017f060e15edbd1a6 (patch) | |
tree | 398b0b72674a235d7d82c134a752a4df6cf888d3 /src | |
parent | 97b2a20c8c2b5794c5b3773abe47f41264e88745 (diff) |
Update html parser
Diffstat (limited to 'src')
-rw-r--r-- | src/ResourceLoader.cpp | 2 | ||||
-rw-r--r-- | src/plugins/Matrix.cpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/ResourceLoader.cpp b/src/ResourceLoader.cpp index dba23ac..4afcf5f 100644 --- a/src/ResourceLoader.cpp +++ b/src/ResourceLoader.cpp @@ -175,8 +175,6 @@ namespace QuickMedia::FontLoader { mgl::Font *font = font_cache[(unsigned int)font_type][character_size].get(); if(!font) { - fprintf(stderr, "### Loading font type: %s, size: %d, latin font: %s, config: %p\n", font_type_str(font_type), (int)character_size, get_config().font.latin.c_str(), (void*)&get_config()); - auto new_font = std::make_unique<mgl::Font>(); if(!new_font->load_from_file(*mapped_file, character_size)) { fprintf(stderr, "Warning: Failed to load font at character size %u\n", character_size); diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 42a2c21..13c6f4f 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -62,7 +62,6 @@ namespace QuickMedia { const char *args[] = { "gpg", "-d", nullptr }; const std::string_view pgp_message(message.data() + pgp_begin_index, (pgp_end_index + 25) - pgp_begin_index); if(exec_program_write_stdin(args, pgp_message.data(), pgp_message.size(), accumulate_string, &decrypted_string) != 0) { - fprintf(stderr, "failed pgp message: |%.*s|\n", (int)pgp_message.size(), pgp_message.data()); result = "🔒 Failed to decrypt message:\n" + std::move(message); } else { decrypted_string.insert(0, "🔒 ", strlen("🔒 ")); |