Clean-up addendum.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35707 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström
2010-03-01 21:02:49 +00:00
parent db4da598fc
commit 5850d9447c
+5 -4
View File
@@ -40,8 +40,7 @@ All rights reserved.
#include <string.h>
enum
{
enum {
FIND_WORD,
GET_WORD,
GET_FLAGS
@@ -69,7 +68,8 @@ static char vsvfn[26] = { 1, 16, 4, 16, 9, 2, 4, 16, 9, 2, 0, 2, 2, 2, 1, 4, 0,
static const char* gCmpKey;
static int word_cmp(BString** firstArg, BString** secondArg)
static int
word_cmp(BString** firstArg, BString** secondArg)
{
return word_match(gCmpKey, (*firstArg)->String()) - word_match(gCmpKey,
(*secondArg)->String());
@@ -804,7 +804,8 @@ Words::FindBestMatches(BList* matches, const char* s)
}
void sort_word_list(BList* matches, const char* reference)
void
sort_word_list(BList* matches, const char* reference)
{
if (matches->CountItems() > 0) {
BString srcWord(reference);