Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().

Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
main
Keisuke Kuroyanagi 2013-08-15 13:39:32 +09:00
parent 6ec3f63d59
commit 08ce337d3f
1 changed files with 1 additions and 2 deletions

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: