From e70a169955e603b204cb986f57dda42cad19a9f2 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 13 Feb 2016 23:30:18 +0100 Subject: [PATCH] Changed: Display a warning when a environment variable doesn't exist --HG-- branch : develop --- code/nel/src/misc/common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/nel/src/misc/common.cpp b/code/nel/src/misc/common.cpp index c2c762ea0..decd52dbf 100644 --- a/code/nel/src/misc/common.cpp +++ b/code/nel/src/misc/common.cpp @@ -1033,6 +1033,7 @@ std::string expandEnvironmentVariables(const std::string &s) { // value not found found = false; + nlwarning("Environment variable '%s' not found, won't be replaced", name.c_str()); } }