From 3e15996dac725dead8d3d7e017f060e15edbd1a6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 5 Oct 2023 22:44:11 +0200 Subject: Update html parser --- src/ResourceLoader.cpp | 2 -- src/plugins/Matrix.cpp | 1 - 2 files changed, 3 deletions(-) (limited to 'src') 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(); 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("🔒 ")); -- cgit v1.2.3