diff --git a/cockatrice/src/client/ui/pixel_map_generator.cpp b/cockatrice/src/client/ui/pixel_map_generator.cpp index c7303cd37..9f1c9bb68 100644 --- a/cockatrice/src/client/ui/pixel_map_generator.cpp +++ b/cockatrice/src/client/ui/pixel_map_generator.cpp @@ -159,10 +159,10 @@ QPixmap CountryPixmapGenerator::generatePixmap(int height, const QString &countr painter.setPen(Qt::black); // width/height offset was determined through trial-and-error -#ifdef Q_OS_WIN - painter.drawRect(0, 0, pixmap.width() - 1, pixmap.height() - 1); -#else +#ifdef Q_OS_MACOS painter.drawRect(0, 0, pixmap.width() / 2, pixmap.height() / 2); +#else + painter.drawRect(0, 0, pixmap.width() - 1, pixmap.height() - 1); #endif pmCache.insert(key, pixmap);