Sistemata ricerca nelle viswin/text

git-svn-id: svn://10.65.10.50/trunk@822 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-01-04 09:38:20 +00:00
parent 0217311cd8
commit b54ab015cb
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ long TTextfile::search(const char* txt, int& ret, long from, bool down,
lin = line(i);
if (!casesens)
lin.lower();
if ((ret = lin.find(txt)) != -1)
if ((ret = lin.find(text)) != -1)
return i;
}
return -1l;

View File

@ -2005,7 +2005,7 @@ void TViswin::find()
m.set(F_STRING, _txt_to_find);
m.set(F_DIRECT, _down_dir ? "D" : "U");
m.set(F_CASE, _case_sensitive ? "X" : "");
m.set(F_CASE, _case_sensitive ? "" : "X");
if (m.run() == K_ENTER)
{