mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Not null check added to DataBase::GetLike
git-svn-id: svn://ultimatepp.org/upp/trunk@2029 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
df43d27537
commit
79dceade1c
2 changed files with 7 additions and 1 deletions
|
|
@ -69,6 +69,9 @@ csCZ("přetečení při výpočtu v reálných číslech")
|
|||
|
||||
// CalcNode.cpp
|
||||
|
||||
T_("lambda-expression")
|
||||
csCZ("")
|
||||
|
||||
T_("Expression evaluator")
|
||||
csCZ("Výrazový kalkulátor")
|
||||
|
||||
|
|
@ -162,6 +165,9 @@ csCZ("nepárová levá závorka; začátek podvýrazu: %s")
|
|||
T_("constant or function expected, found: ")
|
||||
csCZ("očekávána konstanta nebo funkce, nalezeno: ")
|
||||
|
||||
T_("')' (subexpression starts at: %s)")
|
||||
csCZ("")
|
||||
|
||||
|
||||
// CalcBasic.cpp
|
||||
|
||||
|
|
|
|||
|
|
@ -2094,7 +2094,7 @@ DataSet DataTableColumn::GetLike(WString mask)
|
|||
int *d = done.Begin();
|
||||
for(const int *s = done.Begin(), *e = done.End(); s < e; s++) {
|
||||
WString value = Get(*s);
|
||||
if(wcc.Matches(value))
|
||||
if(!IsNull(value) && wcc.Matches(value))
|
||||
*d++ = *s;
|
||||
}
|
||||
done.SetCount(d - done.Begin());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue