Kernel::isBufferAvailable(): replace the implicit pointer cast.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15020 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-09-16 14:27:27 +00:00
parent d8f91273d3
commit c9b19706d1

View File

@ -51,7 +51,7 @@ bool Kernel::isBufferAvailable() const
{
if (!lyxview_.view())
return false;
return lyxview_.view()->buffer();
return lyxview_.view()->buffer() != 0;
}