Ignore if TERM == dumb on ede-launch.

Check smallest allowed sizes for font and maxwidth in ede-desktop icons.
This commit is contained in:
Sanel Zukan
2009-11-27 22:26:25 +00:00
parent 31f5559acd
commit 1031cdb68e
2 changed files with 9 additions and 1 deletions

View File

@@ -274,7 +274,7 @@ static void ok_cb(Fl_Widget*, void* w) {
const char* term = getenv("TERM");
/* also check if TERM get inherited from login console */
if(!term || strcmp(term, "linux") == 0)
if(!term || (strcmp(term, "linux") == 0) || (strcmp(term, "dumb") == 0))
term = "xterm";
snprintf(buf, sizeof(buf), "%s -e %s", term, cmd);