prettified lcdproc screens in mem.c: made them use the LCD screen estate
available and corrected a bug which gave wrong results for widths != 20
This commit is contained in:
1 parent
b23db720cb
commit
7222b6d7f3
2 files changed
+163
-99
No files matched your search
@@ -54,4 +54,14 @@ const char *get_hostname();
|
||||
const char *get_sysname();
|
||||
const char *get_sysrelease();
|
||||
|
||||
#ifndef min
|
||||
# define min(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#ifndef max
|
||||
# define max(a,b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user