* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41741 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user