Skip to content

Commit

Permalink
Fixed|Unix: Regression related to path configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 26, 2012
1 parent 01364ef commit 3d057fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doomsday/libdeng2/src/core/app.cpp
Expand Up @@ -98,8 +98,8 @@ NativePath App::nativeBinaryPath()
# endif
// Also check the system config files.
String configured;
_unixInfo.path("libdir", configured);
path = configured;
if(_unixInfo.path("libdir", configured))
path = configured;
#endif
return path;
}
Expand Down Expand Up @@ -156,8 +156,8 @@ NativePath App::nativeBasePath()
# endif
// Also check the system config files.
String configured;
_unixInfo.path("basedir", configured);
path = configured;
if(_unixInfo.path("basedir", configured))
path = configured;
#endif
return path;
}
Expand Down
3 changes: 2 additions & 1 deletion doomsday/libdeng2/src/core/log.cpp
Expand Up @@ -149,11 +149,12 @@ String LogEntry::asText(Flags const &formattingFlags) const
output << TEXT_STYLE_SECTION << _section << ": ";
}

/*
// If the section is very long, it's clearer to break the line here.
if(_section.length() > LINE_BREAKING_SECTION_LENGTH)
{
output << "\n";
}
}*/
}

if(flags.testFlag(Styled))
Expand Down

0 comments on commit 3d057fa

Please sign in to comment.