diff options
| author | Christian Cunningham <cc@local.lan> | 2025-03-06 18:23:12 -0800 |
|---|---|---|
| committer | Christian Cunningham <cc@local.lan> | 2025-03-06 18:23:12 -0800 |
| commit | 24a36d393d1a79422a779f6b77a46401372e3e3f (patch) | |
| tree | a82039b21e8da9827e12837a527d7ee480511f87 /src | |
| parent | 71b4aa780f70cafe6c3c579d98ffaeaf2dfc97e4 (diff) | |
Fix closeup
Not applying if silent!
Diffstat (limited to 'src')
| -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----------------------------- |
