diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-01 14:51:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-01 14:51:12 +0200 |
commit | 307d9030edbc3e97a49fd1f2266b0e22fcfa552a (patch) | |
tree | e0670398fb712c28e1d7e116caddd469ab47f5de /csv | |
parent | aa3d3748fd7f8a9f6f0153eecf402e50c60c7ccf (diff) | |
parent | e94be88e28b41610bab983a1cbf8f31133a4ced8 (diff) |
Merge branch 'unstable' of github.com:opentrack/opentrack into trackhat-ui
Diffstat (limited to 'csv')
-rw-r--r-- | csv/csv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp index 71db8ecb..e55b429c 100644 --- a/csv/csv.cpp +++ b/csv/csv.cpp @@ -97,7 +97,8 @@ void CSV::getGameData( const int id, unsigned char* table, QString& gamename) QString gameID = QString::number(id); /* zero table first, in case unknown game is connecting */ - memset(table, 0, 8); + for (int i = 0; i < 8; i++) + table[i] = 0; QStringList gameLine; qDebug() << "getGameData, ID = " << gameID; |