Skip to content

Commit

Permalink
Fix for Trend location appearing in Trends in the Trends/TwitterTrend…
Browse files Browse the repository at this point in the history
…Collection.cs
  • Loading branch information
GoldenTao committed Apr 6, 2012
1 parent d4f4779 commit 6511fa9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Twitterizer2/Methods/Trends/TwitterTrendCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist

while (reader.Read() && reader.Depth > initialDepth)
{
#if !SILVERLIGHT
if (reader.TokenType == JsonToken.PropertyName && reader.Depth == initialDepth + 1)
#else
if (reader.TokenType == JsonToken.PropertyName && reader.Depth == initialDepth + 2)
#endif
{
switch ((string)reader.Value)
{
Expand Down

0 comments on commit 6511fa9

Please sign in to comment.