even more instances of #5901

svn path=/trunk/kdebase/konsole/; revision=56355
wilder-portage
Dirk Mueller 26 years ago
parent 5b9f3a1833
commit ee684a797c
  1. 4
      src/kwrited.C
  2. 4
      src/main.C

@ -61,7 +61,7 @@ void KWrited::block_in(const char* txt, int len)
strncpy(_text,txt,len);
_text[len] = 0;
wid->insert(_text);
wid->show();
wid->show();
XRaiseWindow( wid->x11Display(), wid->winId());
delete _text;
}
@ -69,7 +69,7 @@ void KWrited::block_in(const char* txt, int len)
int main(int argc, char* argv[])
{
// WABA: Make sure not to enable session management.
putenv("SESSION_MANAGER=");
putenv(strdup("SESSION_MANAGER="));
KApplication app(argc, argv, "kwrited");
//FIXME: check if we have already have kwrited running.

@ -34,7 +34,7 @@ static KCmdLineOptions options[] =
{ "nohist", I18N_NOOP("Do not save lines in scroll-back buffer"), 0 },
{ "vt_sz CCxLL", I18N_NOOP("Terminal size in columns x lines"), 0 },
{ "e <command>", I18N_NOOP("Execute 'command' instead of shell"), 0 },
//FIXME: WABA: We need a way to say that all options after -e
//FIXME: WABA: We need a way to say that all options after -e
// should be treated as arguments.
{ "+[args]", I18N_NOOP("Arguments for 'command'"), 0 },
{ 0, 0, 0 }
@ -120,7 +120,7 @@ int main(int argc, char* argv[])
// ///////////////////////////////////////////////
putenv((char*)"COLORTERM="); // to trigger mc's color detection
putenv(strdup("COLORTERM=")); // to trigger mc's color detection
if (a.isRestored())
{

Loading…
Cancel
Save