diff options
Diffstat (limited to 'csv/csv.cpp')
-rw-r--r-- | csv/csv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp index 0f9072a7..66850d7f 100644 --- a/csv/csv.cpp +++ b/csv/csv.cpp @@ -99,8 +99,7 @@ bool CSV::getGameData(int id, unsigned char* table, QString& gamename) QString id_str(QString::number(id)); static const QString csv_path(OPENTRACK_BASE_PATH + - OPENTRACK_DOC_PATH + - QString("settings/facetracknoir supported games.csv")); + OPENTRACK_DOC_PATH "settings/facetracknoir supported games.csv"); QFile file(csv_path); @@ -178,7 +177,8 @@ bool CSV::getGameData(int id, unsigned char* table, QString& gamename) } } - qDebug() << "unknown game connected" << id; + if (id) + qDebug() << "unknown game connected" << id; return false; } |