mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
restore original version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34749 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ebcef496a5
commit
55afdeb980
@ -174,9 +174,6 @@ int MyThes::Lookup(const char * pText, int len, mentry** pme)
|
|||||||
// handle the case of missing file or file related errors
|
// handle the case of missing file or file related errors
|
||||||
if (! pdfile) return 0;
|
if (! pdfile) return 0;
|
||||||
|
|
||||||
// handle the case if empty word list
|
|
||||||
if (nw <= 0) return 0;
|
|
||||||
|
|
||||||
long offset = 0;
|
long offset = 0;
|
||||||
|
|
||||||
/* copy search word and make sure null terminated */
|
/* copy search word and make sure null terminated */
|
||||||
@ -340,7 +337,6 @@ int MyThes::readLine(FILE * pf, char * buf, int nc)
|
|||||||
int MyThes::binsearch(char * sw, char* list[], int nlst)
|
int MyThes::binsearch(char * sw, char* list[], int nlst)
|
||||||
{
|
{
|
||||||
int lp, up, mp, j, indx;
|
int lp, up, mp, j, indx;
|
||||||
if (0==nlst) return -1;
|
|
||||||
lp = 0;
|
lp = 0;
|
||||||
up = nlst-1;
|
up = nlst-1;
|
||||||
indx = -1;
|
indx = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user