diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-31 13:25:05 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-31 13:25:05 +0200 |
| commit | e7e29bdec8dff7c328c2ff39893159b7f8e5282c (patch) | |
| tree | a1b5145e78cb3c07c025170c32bb2aecbd96cecd /src | |
| parent | 9a8f162ca773a0a4b8748e631d53935dfd9831dc (diff) | |
style key
Diffstat (limited to 'src')
| -rw-r--r-- | src/StyleReader.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StyleReader.cs b/src/StyleReader.cs index 0c4ce2bc..11174e29 100644 --- a/src/StyleReader.cs +++ b/src/StyleReader.cs @@ -35,7 +35,7 @@ namespace Crow : base(assembly.GetManifestResourceStream (resId)) { Interface iface = Interface.CurrentInterface; - string classNameFromResId = resId.Substring (0, resId.Length - 6); + string styleKey = resId.Substring (0, resId.Length - 6); string token = ""; List<string> targetsClasses = new List<string> (); string currentProperty = ""; @@ -62,11 +62,11 @@ namespace Crow if (!string.IsNullOrEmpty (token)) throw new Exception ("Unexpected token '='"); currentProperty = targetsClasses [0]; - targetsClasses [0] = classNameFromResId; + targetsClasses [0] = styleKey; }else{ if (string.IsNullOrEmpty (token)) throw new Exception ("Unexpected token '='"); - targetsClasses.Add (classNameFromResId); + targetsClasses.Add (styleKey); currentProperty = token; token = ""; } |