From 5850d9447cf609bf36e2a5cf540671cb6ee3e1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sundstr=C3=B6m?= Date: Mon, 1 Mar 2010 21:02:49 +0000 Subject: [PATCH] Clean-up addendum. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35707 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mail/Words.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/apps/mail/Words.cpp b/src/apps/mail/Words.cpp index 5500e459e8..4050447746 100644 --- a/src/apps/mail/Words.cpp +++ b/src/apps/mail/Words.cpp @@ -40,8 +40,7 @@ All rights reserved. #include -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);