HaikuDepot: Fix Bug with Collation
This resolves a bug where a collation pointer is not being initialized. Change-Id: Ice59f82eb6cedd3e15acbafa738445984d7114d3 Reviewed-on: https://review.haiku-os.org/c/1485 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
94a67989c2
commit
325b11bf67
@@ -18,6 +18,7 @@ BCollator* LocaleUtils::sSharedCollator = NULL;
|
|||||||
LocaleUtils::GetSharedCollator()
|
LocaleUtils::GetSharedCollator()
|
||||||
{
|
{
|
||||||
if (sSharedCollator == NULL) {
|
if (sSharedCollator == NULL) {
|
||||||
|
sSharedCollator = new BCollator();
|
||||||
GetCollator(sSharedCollator);
|
GetCollator(sSharedCollator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user