compile fix

This commit is contained in:
ExMix 2014-05-19 17:43:08 +03:00 committed by Alex Zolotarev
parent 751657cf72
commit 6d5cc8dd48

View file

@ -137,7 +137,7 @@ Bookmark const * BookmarkCategory::GetBookmark(size_t index) const
Bookmark * BookmarkCategory::GetBookmark(size_t index)
{
base_t::Controller & c = base_t::GetController();
return static_cast<Bookmark *>(index < c.GetUserMarkCount() ? c.GetUserMark(index) : 0);
return static_cast<Bookmark *>(index < c.GetUserMarkCount() ? c.GetUserMarkForEdit(index) : 0);
}
namespace