equal
deleted
inserted
replaced
149 // change the working directory to enable doubleclicking in UIs |
149 // change the working directory to enable doubleclicking in UIs |
150 #if defined(__BEOS__) || defined(__linux__) |
150 #if defined(__BEOS__) || defined(__linux__) |
151 ChangeWorkingDirectory(argv[0]); |
151 ChangeWorkingDirectory(argv[0]); |
152 #endif |
152 #endif |
153 |
153 |
154 _random_seeds[0][1] = _random_seeds[0][0] = time(NULL); |
154 _random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL); |
155 SeedMT(_random_seeds[0][1]); |
155 SeedMT(_random_seeds[0][1]); |
156 |
156 |
157 signal(SIGPIPE, SIG_IGN); |
157 signal(SIGPIPE, SIG_IGN); |
158 |
158 |
159 ret = ttd_main(argc, argv); |
159 ret = ttd_main(argc, argv); |