diff --git a/ini_reader.h b/ini_reader.h index c0f02c4..580efa3 100644 --- a/ini_reader.h +++ b/ini_reader.h @@ -129,7 +129,7 @@ public: string_multimap itemGroup, existItemGroup; std::stringstream strStrm; unsigned int lineSize = 0; - //char delimiter = count(content.begin(), content.end(), '\n') <= 1 ? '\r' : '\n'; + char delimiter = count(content.begin(), content.end(), '\n') <= 1 ? '\r' : '\n'; EraseAll(); //first erase all data if(do_utf8_to_gbk && is_str_utf8(content)) @@ -138,8 +138,8 @@ public: if(store_isolated_line) curSection = isolated_items_section; //items before any section define will be store in this section strStrm< &nodes, bool ss_libev, bool ssr_libev)