aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-10-05 22:44:11 +0200
committerdec05eba <dec05eba@protonmail.com>2023-10-05 22:44:11 +0200
commit3e15996dac725dead8d3d7e017f060e15edbd1a6 (patch)
tree398b0b72674a235d7d82c134a752a4df6cf888d3
parent97b2a20c8c2b5794c5b3773abe47f41264e88745 (diff)
Update html parser
m---------depends/html-parser0
m---------depends/html-search0
-rw-r--r--src/ResourceLoader.cpp2
-rw-r--r--src/plugins/Matrix.cpp1
4 files changed, 0 insertions, 3 deletions
diff --git a/depends/html-parser b/depends/html-parser
-Subproject 66ec83b862ea2a8dbda1c1f3663af88a8d12d9b
+Subproject 5ea469de363ab319f1cf0707c56bf3165287795
diff --git a/depends/html-search b/depends/html-search
-Subproject f317303d77b519bb5d7e13db6247c1cf3ae0a5a
+Subproject 68989816f43ceda8655c2dbdc0d581971e645fc
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("🔒 "));