summaryrefslogtreecommitdiffhomepage
path: root/csv/csv.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-06-18 18:09:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-06-18 18:48:42 +0200
commit44ee54d5a2e8edc6b4aaf47a9c3f8d10c9a69052 (patch)
tree38c86fd5ef1caabe4bedab2ce67ba9549f419cb8 /csv/csv.cpp
parent4412c3bcc060b75ae8e77285711d2ad257bd8f9a (diff)
csv: link static
Diffstat (limited to 'csv/csv.cpp')
-rw-r--r--csv/csv.cpp6
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;
}