aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-26 01:15:53 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-26 01:15:53 -0800
commit94a764d6ea2d00a1c6fc268a062a59748e676c4c (patch)
treebcb8cf0e93ef366f7afb844088cdb0cb1370589e /env.cpp
parent38e40862fe338d75b05316f4caf66cf36f4faa6b (diff)
Fix for error messages when loading completions
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.cpp b/env.cpp
index 51b503a1..ed558f19 100644
--- a/env.cpp
+++ b/env.cpp
@@ -1151,7 +1151,7 @@ env_var_t env_get_string( const wcstring &key )
{
if( res->val == ENV_NULL )
{
- return wcstring(L"");
+ return env_var_t::missing_var();
}
else
{