Mercurial > hg > index.cgi
comparison lwasm/pseudo.c @ 233:7887a48b74df
Remove stray \n from dts
dts is not supposed to put a \n on the end of it's output.
author | William Astle <lost@l-w.ca> |
---|---|
date | Thu, 19 Jul 2012 13:17:30 -0600 |
parents | 823560a8c251 |
children | 0e4a9b21ad7b |
comparison
equal
deleted
inserted
replaced
232:7da0452512b2 | 233:7887a48b74df |
---|---|
47 tp = time(NULL); | 47 tp = time(NULL); |
48 t = ctime(&tp); | 48 t = ctime(&tp); |
49 | 49 |
50 while (*t) | 50 while (*t) |
51 { | 51 { |
52 if (*t == '\n') | |
53 break; | |
52 lwasm_emit(l, *t); | 54 lwasm_emit(l, *t); |
53 t++; | 55 t++; |
54 l -> len += 1; | 56 l -> len += 1; |
55 } | 57 } |
56 } | 58 } |