Skip to content

Commit

Permalink
small fix with image naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Kraft committed Aug 23, 2014
1 parent df3b199 commit fed686b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Entities/SearchResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ public string Csv {

public string IcoPath {
get {
if (Country != null && Country == "") {
return "flags\\" + Country.ToLower().Replace(' ', '_');
if (Country != null && Country != "") {
return "flags\\" + Country.ToLower().Replace(' ', '_') + ".png";
}
return "flags\\_no_flag.png";
}
Expand Down

0 comments on commit fed686b

Please sign in to comment.