#include <unistd.h>
#include <math.h>
#include <ctype.h>
-#include <values.h>
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
#define DEFAULTTITLE "%h - %d. %Y.[U..[U..[D./..%X.L]..R]./.. %U%?G(%G)%!"
#define DEFAULTICON "%h: %d2. %Y.[U..[U..[D./..%X.L]..R]./.."
-#define BUILDMAX 1000
-#define SMALLBUFMAX 20
-#define MAXSCALED 15
+#define BUILDMAX 10000
+#define SMALLBUFMAX 100
+#define MAXSCALED 50
#ifndef __HPUX
static char lto_buf[20];
case 'x': geom_force(&wg); add_number(wg.x); break;
case 'X': geom_force(&rg); add_scaled(wg.x,rg.w-wg.w+1); break;
#else
- case 'X': case 'Y': add_scaled(MAXINT,0); /* skip scaled parameter */
+ case 'X': case 'Y': add_scaled(INT_MAX,0); /* skip scaled parameter */
case 'x': case 'y': break;
#endif /* !NOXWINDOWS */
case 'd': add_currentdir(); break;
}
if (*cp) cp++; /* skip the '/' */
sd= scaledstr_chop();
- if (num==MAXINT && denom==0) return;
+ if (num==INT_MAX && denom==0) return;
v= denom? (num/(double)denom) : -1;
if (v<0 || v>1) {
add_string(sd);