From 5010ef93e8eac59a4e8e21a3533d4d2005530602 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Thu, 4 Nov 2010 17:05:59 +0000 Subject: [PATCH] added temporary debug info to Notify::ItemChanged() method git-svn-id: svn://ttmath.org/publicrep/winix/trunk@674 e52654a7-88a9-db11-a3e9-0013d4bc506e --- core/notify.cpp | 9 ++++++++ functions/vim.cpp | 52 +++++++++++++++++++++++------------------------ 2 files changed, 35 insertions(+), 26 deletions(-) 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" -"WYMeditor iframe\n" -"\n" -"\n" -"\n" -"\n" -"\n"; +"\n" +"\n" +"\n" +"\n" +"WYMeditor iframe\n" +"\n" +"\n" +"\n" +"\n" +"\n"; Vim::Vim()