aboutsummaryrefslogtreecommitdiffhomepage
path: root/autoload.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-30 18:19:47 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-30 18:52:37 -0700
commit16459099afc4290fe6b2d2776ee003d7f1ff48f2 (patch)
treedaeb7c9a5681d8a2408114340a418206f577e850 /autoload.cpp
parentfa854d7a0153d6846cb15d1aaa8708e00827a00d (diff)
Make C_ (gettext used in completions) return wcstring
Diffstat (limited to 'autoload.cpp')
-rw-r--r--autoload.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload.cpp b/autoload.cpp
index ad18dab0..165afb39 100644
--- a/autoload.cpp
+++ b/autoload.cpp
@@ -232,6 +232,7 @@ bool autoload_t::locate_file_and_maybe_load_it(const wcstring &cmd, bool really_
/* If we can use this function, return whether we were able to access it */
if (use_cached)
{
+ assert(func != NULL);
return func->is_internalized || func->access.accessible;
}
}