From 8406f95b71e97b8e80e6b1f74ab2b4aa44a67ee7 Mon Sep 17 00:00:00 2001 From: inoussa Date: Thu, 8 May 2014 14:16:59 +0000 Subject: [PATCH] Better PropertyManager string parsing, don't set empty props (Thanks to Michael Van Canneyt) git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3024 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- wst/trunk/imp_utils.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/wst/trunk/imp_utils.pas b/wst/trunk/imp_utils.pas index 457178ddb..996c863eb 100644 --- a/wst/trunk/imp_utils.pas +++ b/wst/trunk/imp_utils.pas @@ -260,6 +260,7 @@ begin Try lst.QuoteChar := #0; lst.Delimiter := PROP_LIST_DELIMITER; + lst.StrictDelimiter := True; lst.DelimitedText := APropsStr; for i := 0 to Pred(lst.Count) do SetProperty(lst.Names[i],lst.Values[lst.Names[i]]);