From: Christian Heller Date: Tue, 20 Aug 2013 14:41:39 +0000 (+0200) Subject: Corrected unused bit number check. X-Git-Tag: tce~1091 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/task?a=commitdiff_plain;h=d3769faedef9c27e85a9f1b7b75635209c55450a;p=plomrogue Corrected unused bit number check. --- diff --git a/src/readwrite.c b/src/readwrite.c index 30c99ab..39a7353 100644 --- a/src/readwrite.c +++ b/src/readwrite.c @@ -16,7 +16,7 @@ * all extern functions calling / wrapping around either function). If this ever * changes, (re-)insert: * - * if (0 != size && size <= 32 && 0 != size % 8) + * if (0 == size || size > 32 || 0 != size % 8) * { * return 1; * }