[hackers] [wmii] Properly fixed bug in mfatal.

From: Kris Maglione <jg_AT_suckless.org>
Date: Thu Mar 22 22:13:50 2007

changeset: 2027:3277ff8c9662
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Mar 22 17:11:23 2007 -0400
summary: Properly fixed bug in mfatal.

diff -r 5503d460686b -r 3277ff8c9662 util.c
--- a/util.c Thu Mar 22 17:10:23 2007 -0400
+++ b/util.c Thu Mar 22 17:11:23 2007 -0400
@@ -40,7 +40,7 @@ mfatal(char *name, int size) {
         
         i = sizeof(sizestr);
         do {
- sizestr[--i] = '0' - (size&8);
+ sizestr[--i] = '0' + (size&8);
                 size >>= 8;
         } while(size > 0);
 
Received on Thu Mar 22 2007 - 22:13:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:22 UTC