Permalink
Browse files

fix indention after last commit

  • Loading branch information...
1 parent 18f6412 commit 0514db2fb5f8ef6ad0b406d518254c20de2a7950 @dekarl dekarl committed Mar 3, 2014
Showing with 12 additions and 12 deletions.
  1. +12 −12 mythtv/libs/libmythmetadata/metadatacommon.cpp
@@ -1439,18 +1439,18 @@ QString nearestName(const QString& actual, const QStringList& candidates)
QStringList::ConstIterator i = candidates.begin();
while ( i != candidates.end() )
{
- QString candidate = *i;
- int delta = editDistance( actual.toLower(), candidate.toLower() );
- if ( delta < deltaBest )
- {
- deltaBest = delta;
- numBest = 1;
- best = *i;
- }
- else if ( delta == deltaBest )
- {
- numBest++;
- }
+ QString candidate = *i;
+ int delta = editDistance( actual.toLower(), candidate.toLower() );
+ if ( delta < deltaBest )
+ {
+ deltaBest = delta;
+ numBest = 1;
+ best = *i;
+ }
+ else if ( delta == deltaBest )
+ {
+ numBest++;
+ }
++i;
}

0 comments on commit 0514db2

Please sign in to comment.