From 3e15996dac725dead8d3d7e017f060e15edbd1a6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 5 Oct 2023 22:44:11 +0200 Subject: Update html parser --- depends/html-parser | 2 +- depends/html-search | 2 +- src/ResourceLoader.cpp | 2 -- src/plugins/Matrix.cpp | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/depends/html-parser b/depends/html-parser index 66ec83b..5ea469d 160000 --- a/depends/html-parser +++ b/depends/html-parser @@ -1 +1 @@ -Subproject commit 66ec83b862ea2a8dbda1c1f3663af88a8d12d9bc +Subproject commit 5ea469de363ab319f1cf0707c56bf31652877958 diff --git a/depends/html-search b/depends/html-search index f317303..6898981 160000 --- a/depends/html-search +++ b/depends/html-search @@ -1 +1 @@ -Subproject commit f317303d77b519bb5d7e13db6247c1cf3ae0a5ae +Subproject commit 68989816f43ceda8655c2dbdc0d581971e645fc2 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