Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/RetroView/LogVisor
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoalan committed Jul 7, 2015
2 parents 9f82371 + ab386ad commit 4416d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LogVisor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct ConsoleLogger : public ILogger
if (!Term)
{
Term = getenv("TERM");
if (!strncmp(Term, "xterm", 5))
if (Term && !strncmp(Term, "xterm", 5))
{
XtermColor = true;
putenv((char*)"TERM=xterm-16color");
Expand Down

0 comments on commit 4416d51

Please sign in to comment.