openbsd-ports/games/zoom/patches/patch-src_zmachine_c
naddy e010ef2f44 Import of zoom 0.9.99beta3.
Submitted by Jose Nazario <jose@crimelabs.net>.

Zoom is a Z-Machine, which means that it plays text adventure games
written in ZCode.  The original games were written by a company called
'Infocom' in the 80's.  It is designed to run under X11.
2001-10-28 02:24:23 +00:00

22 lines
556 B
Plaintext

$OpenBSD: patch-src_zmachine_c,v 1.1.1.1 2001/10/28 02:24:23 naddy Exp $
--- src/zmachine.c.orig Wed Oct 24 23:09:20 2001
+++ src/zmachine.c Wed Oct 24 23:09:42 2001
@@ -116,7 +116,7 @@ void zmachine_load_story(char* filename,
void zmachine_fatal(char* format, ...)
{
- va_list* ap;
+ va_list ap;
char string[256];
va_start(ap, format);
@@ -154,7 +154,7 @@ void zmachine_fatal(char* format, ...)
void zmachine_warning(char* format, ...)
{
- va_list* ap;
+ va_list ap;
char string[256];
if (machine.warning_level == 0)