diff options
Diffstat (limited to 'apps/mmi-browser.cpp')
-rw-r--r-- | apps/mmi-browser.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/mmi-browser.cpp b/apps/mmi-browser.cpp index 7cdd392..4090135 100644 --- a/apps/mmi-browser.cpp +++ b/apps/mmi-browser.cpp @@ -28,7 +28,7 @@ int main(int argc, char** argv) { } #ifndef _WIN32 - opterr = 0; + opterr = 0; #endif int option; while ((option = getopt(argc, argv, "l:p:")) != -1) { @@ -39,8 +39,8 @@ int main(int argc, char** argv) { case 'p': uscxml::Factory::pluginPath = optarg; break; - case '?': - break; + case '?': + break; default: printUsageAndExit(); break; @@ -50,14 +50,14 @@ int main(int argc, char** argv) { // for (int i = 0; i < argc; i++) // std::cout << argv[i] << std::endl; // std::cout << optind << std::endl; - + Interpreter* interpreter = Interpreter::fromURI(argv[optind]); if (interpreter) { - interpreter->setCmdLineOptions(argc, argv); + interpreter->setCmdLineOptions(argc, argv); interpreter->start(); while(interpreter->runOnMainThread(25)); - delete interpreter; + delete interpreter; } return EXIT_SUCCESS; |