aboutsummaryrefslogtreecommitdiffstats
path: root/bar.c
diff options
context:
space:
mode:
authorreinelt <>2003-09-01 04:09:35 +0000
committerreinelt <>2003-09-01 04:09:35 +0000
commit003b829ced31a74e5e229571f51a19e73f9be138 (patch)
treeeb6420cad25f7e6cc71d58b5643be4ca43e482bd /bar.c
parent363c54b8c0bce6871120cdbd39271045e6d33f05 (diff)
downloadlcd4linux-003b829ced31a74e5e229571f51a19e73f9be138.tar.gz
[lcd4linux @ 2003-09-01 04:09:34 by reinelt]
icons nearly finished, but MatrixOrbital only
Diffstat (limited to 'bar.c')
-rw-r--r--bar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bar.c b/bar.c
index 82a0881..9b3f826 100644
--- a/bar.c
+++ b/bar.c
@@ -1,4 +1,4 @@
-/* $Id: bar.c,v 1.6 2003/08/20 05:26:43 reinelt Exp $
+/* $Id: bar.c,v 1.7 2003/09/01 04:09:34 reinelt Exp $
*
* generic bar handling
*
@@ -20,6 +20,9 @@
*
*
* $Log: bar.c,v $
+ * Revision 1.7 2003/09/01 04:09:34 reinelt
+ * icons nearly finished, but MatrixOrbital only
+ *
* Revision 1.6 2003/08/20 05:26:43 reinelt
* small bug in bar compaction fixed
*
@@ -94,6 +97,7 @@ int bar_init (int rows, int cols, int xres, int yres, int chars)
}
if ((Bar=malloc (ROWS*COLS*sizeof(BAR)))==NULL) {
+ error ("bar buffer allocation failed: out of memory");
return -1;
}