From fed686bf261146bbe6d1aa7899b2244d1cbe0d72 Mon Sep 17 00:00:00 2001 From: Artur Kraft Date: Sat, 23 Aug 2014 12:36:21 +0200 Subject: [PATCH] small fix with image naming --- Entities/SearchResult.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Entities/SearchResult.cs b/Entities/SearchResult.cs index 4edc9d7..d4dcad0 100644 --- a/Entities/SearchResult.cs +++ b/Entities/SearchResult.cs @@ -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"; }