Use do instead of while. (#134031, Morten Welinder);

Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
	Use do instead of while.  (#134031, Morten Welinder);
This commit is contained in:
Matthias Clasen 2004-02-13 23:02:58 +00:00 committed by Matthias Clasen
parent a9ec2fba19
commit cf6d6a1a6e
6 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Feb 14 00:05:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while. (#134031, Morten Welinder);
Sat Feb 14 00:00:52 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Suppress xsltproc and xmlcatalog checks

View File

@ -1,3 +1,8 @@
Sat Feb 14 00:05:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while. (#134031, Morten Welinder);
Sat Feb 14 00:00:52 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Suppress xsltproc and xmlcatalog checks

View File

@ -1,3 +1,8 @@
Sat Feb 14 00:05:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while. (#134031, Morten Welinder);
Sat Feb 14 00:00:52 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Suppress xsltproc and xmlcatalog checks

View File

@ -1,3 +1,8 @@
Sat Feb 14 00:05:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while. (#134031, Morten Welinder);
Sat Feb 14 00:00:52 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Suppress xsltproc and xmlcatalog checks

View File

@ -1,3 +1,8 @@
Sat Feb 14 00:05:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while. (#134031, Morten Welinder);
Sat Feb 14 00:00:52 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Suppress xsltproc and xmlcatalog checks

View File

@ -992,7 +992,7 @@ bsearch_elt_with_offset (GArray *array,
return NULL;
}
while (start != end)
do
{
middle = (start + end) / 2;
@ -1005,6 +1005,7 @@ bsearch_elt_with_offset (GArray *array,
else
break;
}
while (start != end);
if (elt->offset == offset)
{