summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-11-24 09:36:11 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-11-24 09:36:11 +0100
commit0442ce2e2ecd6084a17a06498d264c2fe452d018 (patch)
tree2d2b77c607902e804be2eb3570a837ca59401ef4
parent96115ac9750979f47b9006612c0e88809dc7a913 (diff)
parent00ddb532fbfc10b016aa193e2443830341e3fec0 (diff)
Merge pull request #2876 from akien-mga/pr-boot-splash-debug
Silence too verbose boot splash debug info
-rw-r--r--main/main.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 3ea9128e13..9f551d62be 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -870,19 +870,18 @@ Error Main::setup2() {
String boot_logo_path=GLOBAL_DEF("application/boot_splash",String());
bool boot_logo_scale=GLOBAL_DEF("application/boot_splash_fullsize",true);
Globals::get_singleton()->set_custom_property_info("application/boot_splash",PropertyInfo(Variant::STRING,"application/boot_splash",PROPERTY_HINT_FILE,"*.png"));
- print_line("BOOT SPLASH: "+boot_logo_path);
Image boot_logo;
boot_logo_path = boot_logo_path.strip_edges();
- print_line("BOOT SPLASH IS : "+boot_logo_path);
if (boot_logo_path!=String() /*&& FileAccess::exists(boot_logo_path)*/) {
+ print_line("Boot splash path: "+boot_logo_path);
Error err = boot_logo.load(boot_logo_path);
if (err!=OK) {
- print_line("ËRROR LOADING BOOT LOGO SPLASH :"+boot_logo_path);
+ print_line("Error loading boot logo splash!);
} else {
- print_line("BOOT SPLASH OK!");
+ print_line("Boot splash OK!");
}
}
@@ -901,7 +900,7 @@ Error Main::setup2() {
} else {
#ifndef NO_DEFAULT_BOOT_LOGO
- MAIN_PRINT("Main: Create botsplash");
+ MAIN_PRINT("Main: Create bootsplash");
Image splash(boot_splash_png);
MAIN_PRINT("Main: ClearColor");