summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Examples')
-rw-r--r--Examples/EasyExample.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Examples/EasyExample.c b/Examples/EasyExample.c
index d01b0d3..c4cca07 100644
--- a/Examples/EasyExample.c
+++ b/Examples/EasyExample.c
@@ -1,12 +1,12 @@
/*
**
-** $Id: EasyExample.c,v 1.1 92/05/28 17:08:31 chris Exp $
-** $Revision: 1.1 $
+** $Id: EasyExample.c,v 21.1 92/05/28 17:09:27 chris Exp $
+** $Revision: 21.1 $
**
** $Filename: Examples/EasyExample.c $
-** $Author: chris $
+** $Author: Christian A. Weber $
** $Release: 21.1 $
-** $Date: 92/05/28 17:08:31 $
+** $Date: 92/05/28 17:09:27 $
**
** A simple ILBM file viewer. To compile with Lattice C 5.x, just
** type 'lmk'. For other compilers you may have to do minor changes.
@@ -31,7 +31,7 @@
*/
#include <libraries/iff.h>
-struct Library *IntuitionBase,*IFFBase;
+struct Library *IntuitionBase, *IFFBase;
struct GfxBase *GfxBase;
/****************************************************************************
@@ -83,7 +83,7 @@ void DisplayILBM(char *filename)
struct Screen *myscreen;
struct NewScreen ns;
- memset(ns, 0, sizeof(ns) );
+ memset(&ns, 0, sizeof(ns) );
ns.Type = CUSTOMSCREEN | SCREENQUIET | SCREENBEHIND;
ns.Width = bmhd->w;