diff --git a/winixd/core/version.h b/winixd/core/version.h index c183ba9..6cda16b 100644 --- a/winixd/core/version.h +++ b/winixd/core/version.h @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2008-2018, Tomasz Sowa + * Copyright (c) 2008-2021, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,7 @@ namespace Winix #define WINIX_VER_MAJOR 0 #define WINIX_VER_MINOR 7 -#define WINIX_VER_REVISION 0 +#define WINIX_VER_REVISION 1 diff --git a/winixd/functions/functions.cpp b/winixd/functions/functions.cpp index f26204e..88ab17d 100644 --- a/winixd/functions/functions.cpp +++ b/winixd/functions/functions.cpp @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2010-2018, Tomasz Sowa + * Copyright (c) 2010-2021, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -118,6 +118,13 @@ FunctionBase * Functions::Find(const std::wstring & function_name) if( i == table.end() ) return 0; + FunctionBase * fun = i->second; + + // this is to set 'cur' and 'locale' for slog, but in the future slog will be moved to Session + fun->set_cur(cur); + fun->set_locale(locale); + // + return i->second; }