aboutsummaryrefslogtreecommitdiffstats
path: root/bar.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-01 04:09:35 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-01 04:09:35 +0000
commit947cd14666c824a02a28dd4b83540949e690e4fd (patch)
treeeb6420cad25f7e6cc71d58b5643be4ca43e482bd /bar.c
parentf036c97abc6be80ecc1ca0c2a8dfbe2492e63dc7 (diff)
downloadlcd4linux-947cd14666c824a02a28dd4b83540949e690e4fd.tar.gz
[lcd4linux @ 2003-09-01 04:09:34 by reinelt]
icons nearly finished, but MatrixOrbital only git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@230 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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;
}