rnd-20090623-4-src
[rocksndiamonds.git] / src / game_sp / Capture.c
index 96997f679d3fe2847a30915cd0de9125aa5fb1ec..9a86f9cd8c92614df72ce0245c26e40c0372aaa7 100644 (file)
@@ -4,7 +4,8 @@
 
 #include "Capture.h"
 
-static char *VB_Name = "CaptureModule";
+// static char *VB_Name = "CaptureModule";
+
 // --------------------------------------------------------------------
 // ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 //
@@ -209,7 +210,7 @@ Picture CreateBitmapPicture(int hBmp, int hPal)
 
   // Fill Pic with necessary parts.
   {
-    pic.Size = Len(pic);          // Length of structure.
+    pic.Size = sizeof(pic);       // Length of structure.
     pic.Type = vbPicTypeBitmap;   // Type of Picture (bitmap).
     pic.hBmp = hBmp;              // Handle to bitmap.
     pic.hPal = hPal;              // Handle to palette (may be null).
@@ -522,7 +523,9 @@ void PrintPictureToFitPage(Printer Prn, Picture pic)
   }
 
   // Print the picture using the PaintPicture method.
-  Prn_PaintPicture(pic, 0, 0, PrnPicWidth, PrnPicHeight);
+#if 0
+  Prn.PaintPicture(pic, 0, 0, PrnPicWidth, PrnPicHeight);
+#endif
 }
 
 // --------------------------------------------------------------------