mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 07:23:04 +01:00
Misc changes as per Claudio and Alex comments
This commit is contained in:
parent
54e881e3c2
commit
f2ecfc4898
@ -244,9 +244,6 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\intl\ld.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\unicode_util.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header files"
|
||||
@ -680,6 +677,9 @@
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\IntlUtil.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\unicode_util.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\os\win32\mod_loader.cpp">
|
||||
</File>
|
||||
|
@ -459,10 +459,6 @@
|
||||
RelativePath="..\..\..\src\intl\ld.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\unicode_util.cpp"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header files"
|
||||
@ -1052,6 +1048,10 @@
|
||||
RelativePath="..\..\..\src\jrd\IntlUtil.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\unicode_util.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\src\jrd\os\win32\mod_loader.cpp"
|
||||
>
|
||||
|
@ -366,7 +366,7 @@ Firebird::string IntlManager::getConfigInfo(const ConfObj& confObj)
|
||||
values.append(el->getAttributeName(i));
|
||||
}
|
||||
|
||||
if (!configInfo.isEmpty())
|
||||
if (configInfo.hasData())
|
||||
configInfo.append(";");
|
||||
configInfo.append(string(el->name) + "=" + values);
|
||||
}
|
||||
|
@ -1110,15 +1110,15 @@ UnicodeUtil::ICU* UnicodeUtil::Utf16Collation::loadICU(
|
||||
|
||||
if (locale.hasData())
|
||||
{
|
||||
int i = icu->ulocCountAvailable();
|
||||
int avail = icu->ulocCountAvailable();
|
||||
|
||||
while (--i >= 0)
|
||||
while (--avail >= 0)
|
||||
{
|
||||
if (locale == icu->ulocGetAvailable(i))
|
||||
if (locale == icu->ulocGetAvailable(avail))
|
||||
break;
|
||||
}
|
||||
|
||||
if (i < 0)
|
||||
if (avail < 0)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user