diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-08 03:17:23 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-03-08 03:17:23 +0400 |
commit | 4a92d82626980d6d1690113b9d27aae282fd48eb (patch) | |
tree | d690f59c72441272ed462fe59d416a9a255d087e /source/blender/freestyle/intern/application/AppConfig.cpp | |
parent | b4b22699850a859d601bb4851d0af18f568b3061 (diff) |
A big code clean-up patch from Bastien Montagne, many thanks!
Diffstat (limited to 'source/blender/freestyle/intern/application/AppConfig.cpp')
-rw-r--r-- | source/blender/freestyle/intern/application/AppConfig.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/freestyle/intern/application/AppConfig.cpp b/source/blender/freestyle/intern/application/AppConfig.cpp index c8ebc45d7eb..2500c9c68ee 100644 --- a/source/blender/freestyle/intern/application/AppConfig.cpp +++ b/source/blender/freestyle/intern/application/AppConfig.cpp @@ -42,7 +42,7 @@ extern "C" { namespace Config { -Path* Path::_pInstance = 0; +Path *Path::_pInstance = 0; Path::Path() { // get the root directory @@ -80,7 +80,7 @@ Path::~Path() _pInstance = 0; } -Path* Path::getInstance() +Path *Path::getInstance() { return _pInstance; } @@ -89,11 +89,10 @@ string Path::getEnvVar(const string& iEnvVarName) { string value; if (!getenv(StringUtils::toAscii(iEnvVarName).c_str())) { - cerr << "Warning: You may want to set the $" - << StringUtils::toAscii(iEnvVarName) - << " environment variable to use Freestyle." << endl - << " Otherwise, the current directory will be used instead." - << endl; + cerr << "Warning: You may want to set the $" << + StringUtils::toAscii(iEnvVarName) << + " environment variable to use Freestyle." << endl << + " Otherwise, the current directory will be used instead." << endl; value = "."; } else { |