浏览代码

Fix: had a semicolon too much (KJB)

ceriel 29 年之前
父节点
当前提交
5edfb9eccf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lang/cem/libcc.ansi/stdio/doscan.c

+ 1 - 1
lang/cem/libcc.ansi/stdio/doscan.c

@@ -50,7 +50,7 @@ o_collect(register int c, register FILE *stream, char type,
 
 	if (c == '-' || c == '+') {
 		*bufp++ = c;
-		if (--width);
+		if (--width)
 		    c = getc(stream);
 	}