diff options
author | Christian C <cc@localhost> | 2025-03-06 18:23:12 -0800 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-06 18:23:12 -0800 |
commit | c1f7a624aad8b548b5d95da0d4a587ce49f353c7 (patch) | |
tree | a82039b21e8da9827e12837a527d7ee480511f87 | |
parent | 8a879518c5939f7a998cb4c5298064ee5532c4fd (diff) |
Fix closeup
Not applying if silent!
-rw-r--r-- | src/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -61,9 +61,8 @@ int main(int argc, char** argv) case 'n': if (!silent) { printf("Closeup Size: %d\n", atoi(optarg)); - closeup_pixel_count = atoi(optarg); } - png_file = optarg; + closeup_pixel_count = atoi(optarg); break; case ':': if (!silent) { @@ -190,7 +189,7 @@ int main(int argc, char** argv) closeup(&masks, width, height, closeup_pixel_count); TIME(ts_end); if (!silent) { - printf("Closing up took %f ms\n", 1000*diff_time(&ts_end, &ts_start)); + printf("Closing (%lu) up took %f ms\n", closeup_pixel_count, 1000*diff_time(&ts_end, &ts_start)); } //----------------------------------------------- //-END-OF-PROCESSING----------------------------- |