diff -r f303b1affcff -r dae770da6416 status-mem/mem.c --- a/status-mem/mem.c Mon Oct 20 23:00:01 2014 +0400 +++ b/status-mem/mem.c Mon Oct 20 23:24:03 2014 +0400 @@ -46,12 +46,16 @@ int used = total - free; +#ifdef PANGO_MARKUP char *color; if (used*1.0/total < GREEN) color = "color='green'"; else if (used*1.0/total > RED) color = "color='red'"; else if (used*1.0/total > ORANGE) color = "color='orange'"; else color = ""; printf("%d/%d\n", color, used/1024, total/1024); +#else + printf("%d/%d\n", used/1024, total/1024); +#endif fflush(stdout); sleep(UPDATE_PERIOD); }