mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
d8f91273d3
commit
c9b19706d1
@ -51,7 +51,7 @@ bool Kernel::isBufferAvailable() const
|
||||
{
|
||||
if (!lyxview_.view())
|
||||
return false;
|
||||
return lyxview_.view()->buffer();
|
||||
return lyxview_.view()->buffer() != 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user