Allow gfx with less than 200px height.
Allow to set the color for unused cells.


git-svn-id: svn://localhost/thomson@41 85ae3b6b-dc8f-4344-a89d-598714f2e4e5
diff --git a/tools/gfx2mo5/png2mo5.c b/tools/gfx2mo5/png2mo5.c
index 9fd7a70..3732e14 100644
--- a/tools/gfx2mo5/png2mo5.c
+++ b/tools/gfx2mo5/png2mo5.c
@@ -126,7 +126,7 @@
 
   png_read_image(png_ptr, ptrRow);
 
-  outBuffer = raw2mo5(inBuffer, argc > 3);
+  outBuffer = raw2mo5(inBuffer, height, argc > 3 ? atoi(argv[3]):-1);
 
   int pxsize = width * height / 8;
   thomheader[7] = pxsize >> 8;