diff --git a/core/notify.cpp b/core/notify.cpp index b0be576..214dd25 100755 --- a/core/notify.cpp +++ b/core/notify.cpp @@ -235,6 +235,15 @@ Users::Iterator i; if( notify_code == 0 ) return; + if( !system || !system->mounts.pmount || !config ) + { + log << log1 << "!!! Notify: some objects are not set: " + << system << ", " + << system->mounts.pmount << ", " + << config logend; + return; + } + n.notify_code = notify_code; n.current_mount_type = system->mounts.pmount->type; n.doc_base_url = config->base_url; diff --git a/functions/vim.cpp b/functions/vim.cpp index fa54ec0..48db60e 100755 --- a/functions/vim.cpp +++ b/functions/vim.cpp @@ -22,32 +22,32 @@ namespace Fun static const char vim_wymiframe[] = -"\n" -"\n" -"\n" -"
\n" -"