Permalink
Browse files

Fix a = where it should be a - in the new meta file parsing

  • Loading branch information...
1 parent aaea565 commit 514c1933ceabc5cd5b0f671ff36a17a97781b546 Ken Moore committed Nov 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-softwaremanager/pbiDBAccess.cpp
@@ -228,7 +228,7 @@ QStringList PBIDBAccess::parseAppMetaLine(QString line){
qDebug() << "Check description line:" << tmp[i-1] << QString::number(i);
tmp[i-1] = tmp[i-1].simplified();
if(tmp[i=1].isEmpty() || tmp[i].isEmpty() ){continue;}
- else if(tmp[i=1].endsWith(".") || tmp[i-1].endsWith(":") || tmp[i-1].endsWith(";") || tmp[i-1].endsWith("?") || tmp[i-1].endsWith("!") ){ continue; }
+ else if(tmp[i-1].endsWith(".") || tmp[i-1].endsWith(":") || tmp[i-1].endsWith(";") || tmp[i-1].endsWith("?") || tmp[i-1].endsWith("!") ){ continue; }
else if( tmp[i].startsWith("*") || tmp[i].startsWith("0") || tmp[i].startsWith("-") || tmp[i].startsWith("o ") ){ continue; }
else{
//Bad line break, combine it with the previous line

0 comments on commit 514c193

Please sign in to comment.