* Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41741 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2011-05-25 15:48:34 +00:00
parent 0bc48df539
commit e050c0c678
+2 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2003-2009, Axel Dörfler, [email protected].
* Copyright 2003-2011, Axel Dörfler, [email protected].
* Copyright 2009-2010, Adrien Destugues, [email protected].
* Distributed under the terms of the MIT License.
*/
@@ -114,10 +114,7 @@ BCountry::Code() const
status_t
BCountry::GetIcon(BBitmap* result) const
{
const char* code = fICULocale->getCountry();
if (code == NULL)
return B_ERROR;
return BLocaleRoster::Default()->GetFlagIconForCountry(result, code);
return BLocaleRoster::Default()->GetFlagIconForCountry(result, Code());
}