aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index d51765c..5350797 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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-----------------------------