diff --git a/m-dict.h b/m-dict.h index 287b1242..ac688e08 100644 --- a/m-dict.h +++ b/m-dict.h @@ -885,7 +885,7 @@ if (M_UNLIKELY (c != '{')) return false; \ c = m_core_fgetc_nospace(file); \ if (M_UNLIKELY(c == '}')) return true; \ - if (M_UNLIKELY (c == EOF)) return true; \ + if (M_UNLIKELY (c == EOF)) return false; \ ungetc(c, file); \ key_type key; \ M_IF(isSet)( ,value_type value); \