Browse Source

patch

master
despair 5 years ago
parent
commit
24b8261298
  1. 12
      src/main.cpp

12
src/main.cpp

@ -6,8 +6,9 @@ @@ -6,8 +6,9 @@
#include "Log.h"
#include "URL.h"
#include "WebResource.h"
#include "tlsf.h"
//#include "scheduler.h"
#include "CFGFileParser.h"
#include "browser.h"
#include <ctime>
#include <iostream>
@ -109,11 +110,12 @@ int main(int argc, char *argv[]) { @@ -109,11 +110,12 @@ int main(int argc, char *argv[]) {
std::cout << "# # ######" << std::endl << "## # ###### ##### # # # # # # # # ###### #####" << std::endl << "# # # # # # # # # ## # ## # # # #" << std::endl << "# # # ##### # ###### # # # # # # # # ##### # #" << std::endl << "# # # # # # # # # # # # # # # # #####" << std::endl << "# ## # # # # # # # ## # ## # # #" << std::endl << "# # ###### # # # #### # # # # ###### # #" << std::endl;
std::cout << "/g/ntr - NetRunner build " << __DATE__ << ": rev-" << VERSION << " for " << PLATFORM << std::endl;
#else
std::cout << "# # ######" << std::endl << "## # ###### ##### # # # # # # # # ###### #####" << std::endl << "# # # # # # # # # ## # ## # # # #" << std::endl << "# # # ##### # ###### # # # # # # # # ##### # #" << std::endl << "# # # # # # # # # # # # # # # # #####" << std::endl << "# ## # # # # # # # ## # ## # # #" << std::endl << "# # ###### # # # #### # # # # ###### # #" << std::endl;
std::cout << "/g/ntr - NetRunner build " << __DATE__ << ": internal-dev non-Makefile build" << std::endl;
#endif
Environment::init();
CFGFileParser *parser = new CFGFileParser("lynx.cfg");
parser->ParseText();
Environment::init();
/*
// we need to set up OGL before we can setDOM (because component can't be constructed (currently) without OGL)
// but should be after CommandLineParams incase we need to change some type of window config
window->windowWidth = 1024;
@ -190,4 +192,4 @@ int main(int argc, char *argv[]) { @@ -190,4 +192,4 @@ int main(int argc, char *argv[]) {
}
*/
return 0;
}
}
Loading…
Cancel
Save