diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/qt_sdl/ArchiveUtil.cpp | 2 | ||||
-rw-r--r-- | src/frontend/qt_sdl/CheatsDialog.cpp | 4 | ||||
-rw-r--r-- | src/frontend/qt_sdl/LAN_Socket.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/qt_sdl/ArchiveUtil.cpp b/src/frontend/qt_sdl/ArchiveUtil.cpp index c1f2fc1..cbb3ecc 100644 --- a/src/frontend/qt_sdl/ArchiveUtil.cpp +++ b/src/frontend/qt_sdl/ArchiveUtil.cpp @@ -82,7 +82,7 @@ QVector<QString> ExtractFileFromArchive(const char* path, const char* wantedFile if (bytesRead < 0) { - printf(archive_error_string(a)); + printf("Error whilst reading archive: %s", archive_error_string(a)); return QVector<QString> {"Err", archive_error_string(a)}; } diff --git a/src/frontend/qt_sdl/CheatsDialog.cpp b/src/frontend/qt_sdl/CheatsDialog.cpp index 05fedc5..b38c666 100644 --- a/src/frontend/qt_sdl/CheatsDialog.cpp +++ b/src/frontend/qt_sdl/CheatsDialog.cpp @@ -276,7 +276,7 @@ void CheatsDialog::onCheatEntryModified(QStandardItem* item) if (item->text().isEmpty()) { QString oldname = QString(cat.Name); - item->setText(oldname.isEmpty() ? "(blank category name??)" : oldname); + item->setText(oldname.isEmpty() ? "(blank category name?)" : oldname); } else { @@ -291,7 +291,7 @@ void CheatsDialog::onCheatEntryModified(QStandardItem* item) if (item->text().isEmpty()) { QString oldname = QString(code.Name); - item->setText(oldname.isEmpty() ? "(blank code name??)" : oldname); + item->setText(oldname.isEmpty() ? "(blank code name?)" : oldname); } else { diff --git a/src/frontend/qt_sdl/LAN_Socket.cpp b/src/frontend/qt_sdl/LAN_Socket.cpp index c147e69..6fcac6f 100644 --- a/src/frontend/qt_sdl/LAN_Socket.cpp +++ b/src/frontend/qt_sdl/LAN_Socket.cpp @@ -102,11 +102,11 @@ ssize_t SlirpCbSendPacket(const void* buf, size_t len, void* opaque) { if (len > 2048) { - printf("slirp: packet too big (%d)\n", len); + printf("slirp: packet too big (%zu)\n", len); return 0; } - printf("slirp: response packet of %d bytes, type %04X\n", len, ntohs(((u16*)buf)[6])); + printf("slirp: response packet of %zu bytes, type %04X\n", len, ntohs(((u16*)buf)[6])); RXEnqueue(buf, len); |