Skip to content

Commit

Permalink
enable multi-line for ini file key value
Browse files Browse the repository at this point in the history
follow-up of 02d29e0, #460
  • Loading branch information
lifenjoiner committed Feb 29, 2024
1 parent 8db6eeb commit 74ee6b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Bookmarks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ void CBookmarks::Load()
CreateDirectory(m_iniPath.c_str(), nullptr);
m_iniPath += L"\\bookmarks";
SetUnicode();
SetMultiLine(true); // multiline search
LoadFile(m_iniPath.c_str());
}

Expand Down
1 change: 1 addition & 0 deletions src/grepWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
if (bPortable)
{
g_iniFile.SetUnicode();
g_iniFile.SetMultiLine(true); // multiline search
g_iniFile.LoadFile(g_iniPath.c_str());
}

Expand Down

0 comments on commit 74ee6b1

Please sign in to comment.