widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #13088
[Merge] lp:~widelands-dev/widelands/delete_new_font_renderer_messages into lp:widelands
GunChleoc has proposed merging lp:~widelands-dev/widelands/delete_new_font_renderer_messages into lp:widelands.
Commit message:
Removed 'using NEW font renderer' log messages.
Requested reviews:
Widelands Developers (widelands-dev)
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/delete_new_font_renderer_messages/+merge/343294
Just removing some noise. I have tested it.
@bunnybot merge
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/delete_new_font_renderer_messages into lp:widelands.
=== modified file 'src/wui/game_objectives_menu.cc'
--- src/wui/game_objectives_menu.cc 2018-04-07 16:59:00 +0000
+++ src/wui/game_objectives_menu.cc 2018-04-16 08:28:38 +0000
@@ -92,9 +92,8 @@
try {
objectivetext.force_new_renderer();
objectivetext.set_text(text);
- log("Objectives: using NEW font renderer.\n");
} catch (const std::exception& e) {
- log("Objectives: falling back to OLD font renderer:\n%s\n%s\n", text.c_str(), e.what());
+ log("Objectives: falling back to old font renderer:\n%s\n%s\n", text.c_str(), e.what());
objectivetext.force_new_renderer(false);
objectivetext.set_text(text);
}
=== modified file 'src/wui/story_message_box.cc'
--- src/wui/story_message_box.cc 2018-04-07 16:59:00 +0000
+++ src/wui/story_message_box.cc 2018-04-16 08:28:38 +0000
@@ -62,10 +62,9 @@
try {
textarea_.force_new_renderer();
textarea_.set_text(body);
- log("Story Message Box: using NEW font renderer.\n");
} catch (const std::exception& e) {
log(
- "Story Message Box: falling back to OLD font renderer:\n%s\n%s\n", body.c_str(), e.what());
+ "Story Message Box: falling back to old font renderer:\n%s\n%s\n", body.c_str(), e.what());
textarea_.force_new_renderer(false);
textarea_.set_text(body);
}
Follow ups