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:
Andrew Lindesay
2019-05-25 21:23:18 +00:00
committed by waddlesplash
parent 94a67989c2
commit 325b11bf67
+1
View File
@@ -18,6 +18,7 @@ BCollator* LocaleUtils::sSharedCollator = NULL;
LocaleUtils::GetSharedCollator()
{
if (sSharedCollator == NULL) {
sSharedCollator = new BCollator();
GetCollator(sSharedCollator);
}