Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().

Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
This commit is contained in:
Keisuke Kuroyanagi 2013-08-15 13:39:32 +09:00
parent 6ec3f63d59
commit 08ce337d3f

View File

@ -49,8 +49,7 @@ class BinaryDictionaryInfo {
} }
AK_FORCE_INLINE bool isDynamicallyUpdatable() const { AK_FORCE_INLINE bool isDynamicallyUpdatable() const {
const bool isUpdatableDictionaryFormat = mDictionaryHeader.supportsDynamicUpdate(); return mIsUpdatable;
return mIsUpdatable && isUpdatableDictionaryFormat;
} }
private: private: