diff --git a/src/main.cpp b/src/main.cpp index 47acb830..0954ae6b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,14 +77,12 @@ int main(int argc, char* argv[]) { case 'h': { settings::headless = true; } break; -#if !defined ARCH_MAC // Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. - case 'p': { + case 't': { screenshot = true; // If parsing number failed, use default value - sscanf(optarg, "%f", &screenshotZoom); + std::sscanf(optarg, "%f", &screenshotZoom); } break; -#endif case 's': { asset::systemDir = optarg; } break;