X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FCapture.c;h=9a86f9cd8c92614df72ce0245c26e40c0372aaa7;hb=8d3d7d213a9691455a49544624bf380e85f43461;hp=96997f679d3fe2847a30915cd0de9125aa5fb1ec;hpb=b15916f3e0650dc610705ea662bfbcd25099cce8;p=rocksndiamonds.git diff --git a/src/game_sp/Capture.c b/src/game_sp/Capture.c index 96997f67..9a86f9cd 100644 --- a/src/game_sp/Capture.c +++ b/src/game_sp/Capture.c @@ -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 } // --------------------------------------------------------------------