… | |
… | |
450 | _exit (EXIT_FAILURE); |
450 | _exit (EXIT_FAILURE); |
451 | } |
451 | } |
452 | |
452 | |
453 | /*----------------------------------------------------------------------*/ |
453 | /*----------------------------------------------------------------------*/ |
454 | bool |
454 | bool |
455 | rxvt_term::init (int argc, const char *const *argv) |
455 | rxvt_term::init (int argc, const char *const *argv, stringvec *envv) |
456 | { |
456 | { |
|
|
457 | this->envv = envv; |
|
|
458 | |
457 | SET_R (this); |
459 | SET_R (this); |
458 | set_locale (""); |
460 | set_locale (""); |
459 | set_environ (envv); // few things in X do not call setlocale :( |
461 | set_environ (envv); // few things in X do not call setlocale :( |
460 | |
462 | |
461 | if (!init_vars ()) |
463 | if (!init_vars ()) |