403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/games/xmille/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/xmille/files/patch-drawcard.c
--- drawcard.c.orig	Thu Apr  2 05:55:06 1992
+++ drawcard.c	Fri Jun 15 02:09:15 2007
@@ -8,6 +8,8 @@
 # include	"ui.h"
 # include	"card.h"
 # include	"background.h"
+# include	<stdlib.h>
+
 
 struct card_init {
 	char	*bits;
@@ -64,6 +66,9 @@
 struct card backside;
 struct card eraseCard;
 
+static drawIm();
+static redisplaybelow();
+
 
 bw_init_cards()
 {
@@ -183,12 +188,12 @@
 				WIDTH, HEIGHT);
 		
 		XSetForeground(dpy, cheap_gc, bits_p);
-		XSetStipple(dpy, cheap_gc, bits);
+		XSetStipple(dpy, cheap_gc, mask);
 		XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0,
 				WIDTH, HEIGHT);
 		
 		XSetForeground(dpy, cheap_gc, mask_p);
-		XSetStipple(dpy, cheap_gc, mask);
+		XSetStipple(dpy, cheap_gc, bits);
 		XFillRectangle (dpy, cards[i].bits, cheap_gc, 0, 0,
 				WIDTH, HEIGHT);
 		
@@ -262,7 +267,6 @@
 struct card	*c;
 {
 	struct displayed	*d, *p;
-	char			*malloc ();
 
 	p = 0;
 	for (d = onscreen; d; d = d->next) {

Youez - 2016 - github.com/yon3zu
LinuXploit