File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ private void LoadSearchHistory()
116116 if ( ! string . IsNullOrEmpty ( hist ) )
117117 {
118118 // items are stored as a pipe-separated list
119- var items = hist . Split ( new [ ] { '|' } , StringSplitOptions . RemoveEmptyEntries ) ;
119+ var items = hist . Split ( new [ ] { "<|SEP|>" } , StringSplitOptions . RemoveEmptyEntries ) ;
120120 // insert in order so most recent is first
121121 foreach ( var it in items )
122122 {
@@ -150,7 +150,7 @@ public void SaveSearchHistory()
150150 if ( list . Count >= max ) break ;
151151 }
152152 // serialize as pipe-separated
153- string serial = string . Join ( "| " , list ) ;
153+ string serial = string . Join ( "<|SEP|> " , list ) ;
154154 FrmSettings . Settings . SetSetting ( Settings . searchHistory , serial ) ;
155155 FrmSettings . Settings . SetIntSetting ( Settings . searchHistoryLength , serial . Length ) ;
156156 }
You can’t perform that action at this time.
0 commit comments