From e509cd6d53d19162754cc73485e3435051557952 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 27 Feb 2010 04:35:33 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1135 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/pbmpage.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'generator') diff --git a/generator/pbmpage.c b/generator/pbmpage.c index 68e20448..a2f47bcc 100644 --- a/generator/pbmpage.c +++ b/generator/pbmpage.c @@ -238,6 +238,11 @@ main(int argc, const char** argv) { Height = USHEIGHT; } + if (argc > 1) + TP = atoi(argv[1]); + else + TP = 1; + bitmap.Width = Width; bitmap.Height = Height; bitmap.bitmap = pbm_allocarray_packed(Width, bitmap.Height); @@ -248,11 +253,6 @@ main(int argc, const char** argv) { bitmap.bitmap[y][x] = 0x00; } - if (argc > 1) - TP = atoi(argv[1]); - else - TP = 1; - switch (TP) { case 1: framePerimeter(Width, Height); -- cgit 1.4.1